File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 }
6565 if ($ update ->getConfiguration ('doNotUpdate ' ) == 1 ) {
6666 throw new Exception (__ ('Mise à jour et réinstallation désactivées sur ' , __FILE__ ) . ' ' . $ repo ->getLogicalId ());
67- }
67+ }
6868 $ update ->setSource (init ('repo ' ));
6969 $ update ->setLogicalId ($ repo ->getLogicalId ());
7070 $ update ->setType ($ repo ->getType ());
8585 unautorizedInDemo ();
8686 $ class = 'repo_ ' . init ('repo ' );
8787 $ repo = $ class ::byId (init ('id ' ));
88- if (!is_object ($ market )) {
88+ if (!is_object ($ repo )) {
8989 throw new Exception (__ ('Impossible de trouver l \'objet associé : ' , __FILE__ ) . ' ' . init ('id ' ));
9090 }
9191 $ update = update::byTypeAndLogicalId ($ repo ->getType (), $ repo ->getLogicalId ());
9292 try {
9393 if (is_object ($ update )) {
9494 $ update ->remove ();
9595 } else {
96- $ market ->remove ();
96+ $ repo ->remove ();
9797 }
9898 } catch (Exception $ e ) {
9999 if (is_object ($ update )) {
You can’t perform that action at this time.
0 commit comments