diff options
author | Georg Ehrke <developer@georgehrke.com> | 2014-06-02 21:37:39 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2014-06-02 21:39:15 +0200 |
commit | eea501b847f2a4b6a8b29d4d2ded7ef86a841f42 (patch) | |
tree | a1b35a093cf9590fe2a1d019f2058f7cb5e2a3ce /settings/ajax | |
parent | c8a8c7e93340eaa36586926ca70c8a3959aa4a94 (diff) | |
download | nextcloud-server-eea501b847f2a4b6a8b29d4d2ded7ef86a841f42.tar.gz nextcloud-server-eea501b847f2a4b6a8b29d4d2ded7ef86a841f42.zip |
various fixes as requested by pr reviewers
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/disableapp.php | 4 | ||||
-rw-r--r-- | settings/ajax/installapp.php | 3 | ||||
-rw-r--r-- | settings/ajax/uninstallapp.php | 3 |
3 files changed, 4 insertions, 6 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(); diff --git a/settings/ajax/installapp.php b/settings/ajax/installapp.php index 960080d7a7b..47f40f2b0cd 100644 --- a/settings/ajax/installapp.php +++ b/settings/ajax/installapp.php @@ -1,6 +1,5 @@ <?php - -OC_JSON::checkAdminUser(); +OCP\JSON::checkAdminUser(); OCP\JSON::callCheck(); if (!array_key_exists('appid', $_POST)) { diff --git a/settings/ajax/uninstallapp.php b/settings/ajax/uninstallapp.php index 11241571e85..5c6371dc16f 100644 --- a/settings/ajax/uninstallapp.php +++ b/settings/ajax/uninstallapp.php @@ -1,6 +1,5 @@ <?php - -OC_JSON::checkAdminUser(); +OCP\JSON::checkAdminUser(); OCP\JSON::callCheck(); if (!array_key_exists('appid', $_POST)) { |