summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorTobia De Koninck <tobia@ledfan.be>2017-07-22 13:32:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-03-06 10:41:55 +0100
commit539fdaea1efa7fa35b321031554af8703d00737c (patch)
tree4d877909bf66e9a4749df474d2f7c407b01612ce /settings
parent3867a74f0d8f17357043a72e38828eb3cbca59f8 (diff)
downloadnextcloud-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.php2
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();