diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-25 09:49:00 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:53 +0200 |
commit | 004dd73c5e738b1b610acfaf6d2d67dc06c345b8 (patch) | |
tree | 1fd438d55b2dbb06789482e46ae8887bdc61b474 | |
parent | b3221f0e4e67e7cee6a117de1a170417a86c0b2a (diff) | |
download | nextcloud-server-004dd73c5e738b1b610acfaf6d2d67dc06c345b8.tar.gz nextcloud-server-004dd73c5e738b1b610acfaf6d2d67dc06c345b8.zip |
fix user creation, checkSubAdminUser is only available in OC_JSON
-rw-r--r-- | settings/ajax/createuser.php | 2 |
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(); |