-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Milestone
Description
Hi
When disabling an app using the apps settings page the uninstall repair-step defined in info.xml is perfectly run. But when doing this using the occ command the repair-step is never run.
I had a look at the code:
- the disableapp call from the settings page uses the
OC_App::disablemethod:server/settings/ajax/disableapp.php
Line 42 in 732c92e
OC_App::disable($appId); - the disable command uses the
disableAppmethod on theOCP\App\IManagerclass:server/core/Command/App/Disable.php
Line 64 in e1df6b5
$this->manager->disableApp($appId);
The OC_App::disable method is actually calling the disableApp method of the manager, but the manager never executes the repair-steps.
If this isn't intended behavior I'm willing to fix this.