summaryrefslogtreecommitdiffstats
path: root/settings/ajax/disableapp.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-06-02 21:37:39 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-06-02 21:39:15 +0200
commiteea501b847f2a4b6a8b29d4d2ded7ef86a841f42 (patch)
treea1b35a093cf9590fe2a1d019f2058f7cb5e2a3ce /settings/ajax/disableapp.php
parentc8a8c7e93340eaa36586926ca70c8a3959aa4a94 (diff)
downloadnextcloud-server-eea501b847f2a4b6a8b29d4d2ded7ef86a841f42.tar.gz
nextcloud-server-eea501b847f2a4b6a8b29d4d2ded7ef86a841f42.zip
various fixes as requested by pr reviewers
Diffstat (limited to 'settings/ajax/disableapp.php')
-rw-r--r--settings/ajax/disableapp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/disableapp.php b/settings/ajax/disableapp.php
index 263e2c27479..c1e5bc8eac7 100644
--- a/settings/ajax/disableapp.php
+++ b/settings/ajax/disableapp.php
@@ -1,5 +1,5 @@
<?php
-OC_JSON::checkAdminUser();
+OCP\JSON::checkAdminUser();
OCP\JSON::callCheck();
if (!array_key_exists('appid', $_POST)) {
@@ -11,4 +11,4 @@ $appId = $_POST['appid'];
$appId = OC_App::cleanAppId($appId);
OC_App::disable($appId);
-OC_JSON::success(); \ No newline at end of file
+OC_JSON::success();