summaryrefslogtreecommitdiffstats
path: root/settings/ajax/togglesubadmins.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/togglesubadmins.php')
-rw-r--r--settings/ajax/togglesubadmins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/togglesubadmins.php b/settings/ajax/togglesubadmins.php
index 4fee0530dd1..c115568bca7 100644
--- a/settings/ajax/togglesubadmins.php
+++ b/settings/ajax/togglesubadmins.php
@@ -24,7 +24,7 @@
*
*/
OC_JSON::checkAdminUser();
-OCP\JSON::callCheck();
+\OC_JSON::callCheck();
$lastConfirm = (int) \OC::$server->getSession()->get('last-password-confirm');
if ($lastConfirm < (time() - 30 * 60 + 15)) { // allow 15 seconds delay