@@ 138-142 (lines=5) @@ | ||
135 | ||
136 | $this->getPackageInstaller()->apps()->delete($id); |
|
137 | ||
138 | if ( $assets !== null ) { |
|
139 | ||
140 | $fs->rmdir(COMODOJO_INSTALLER_WORKING_DIRECTORY.'/'.COMODOJO_INSTALLER_APP_ASSETS.'/'.$app); |
|
141 | ||
142 | } |
|
143 | ||
144 | $io->write(" <comment>-</comment> removed app ".$app); |
|
145 | ||
@@ 172-176 (lines=5) @@ | ||
169 | ||
170 | $this->getPackageInstaller()->apps()->update($id, $package_name, $app, $description); |
|
171 | ||
172 | if ( $old_assets !== null ) { |
|
173 | ||
174 | $fs->rmdir(COMODOJO_INSTALLER_WORKING_DIRECTORY.'/'.COMODOJO_INSTALLER_APP_ASSETS.'/'.$app); |
|
175 | ||
176 | } |
|
177 | ||
178 | if ( $new_assets !== null ) { |
|
179 |