aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/ajax/createuser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/createuser.php b/settings/ajax/createuser.php
index 4f0424754af..ae1d8856f43 100644
--- a/settings/ajax/createuser.php
+++ b/settings/ajax/createuser.php
@@ -1,7 +1,7 @@
<?php
OCP\JSON::callCheck();
-OCP\JSON::checkSubAdminUser();
+OC_JSON::checkSubAdminUser();
if(OC_User::isAdminUser(OC_User::getUser())) {
$groups = array();