diff options
author | Tobia De Koninck <tobia@ledfan.be> | 2017-07-22 13:32:56 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-03-06 10:41:55 +0100 |
commit | 539fdaea1efa7fa35b321031554af8703d00737c (patch) | |
tree | 4d877909bf66e9a4749df474d2f7c407b01612ce /settings | |
parent | 3867a74f0d8f17357043a72e38828eb3cbca59f8 (diff) | |
download | nextcloud-server-539fdaea1efa7fa35b321031554af8703d00737c.tar.gz nextcloud-server-539fdaea1efa7fa35b321031554af8703d00737c.zip |
Run repair steps on uninstall in all cases
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/disableapp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/disableapp.php b/settings/ajax/disableapp.php index a2f9fa42693..1d9cb984e2a 100644 --- a/settings/ajax/disableapp.php +++ b/settings/ajax/disableapp.php @@ -39,6 +39,6 @@ if (!array_key_exists('appid', $_POST)) { $appIds = (array)$_POST['appid']; foreach($appIds as $appId) { $appId = OC_App::cleanAppId($appId); - OC_App::disable($appId); + \OC::$server->getAppManager()->disableApp($appId); } OC_JSON::success(); |