summaryrefslogtreecommitdiffstats
path: root/settings/ajax/disableapp.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/disableapp.php')
-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 e89de928eac..466a719157d 100644
--- a/settings/ajax/disableapp.php
+++ b/settings/ajax/disableapp.php
@@ -2,6 +2,6 @@
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
-OC_App::disable($_POST['appid']);
+OC_App::disable(OC_App::cleanAppId($_POST['appid']));
OC_JSON::success();