]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix user creation, checkSubAdminUser is only available in OC_JSON
authorArthur Schiwon <blizzz@owncloud.com>
Tue, 25 Feb 2014 08:49:00 +0000 (09:49 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:53:53 +0000 (12:53 +0200)
settings/ajax/createuser.php

index 4f0424754af19c56d5eee51724a824f6d7f844e2..ae1d8856f43f833151110e7baebf8ff427a6ec1b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 OCP\JSON::callCheck();
-OCP\JSON::checkSubAdminUser();
+OC_JSON::checkSubAdminUser();
 
 if(OC_User::isAdminUser(OC_User::getUser())) {
        $groups = array();