fix user creation, checkSubAdminUser is only available in OC_JSON

This commit is contained in:
Arthur Schiwon 2014-02-25 09:49:00 +01:00
parent b3221f0e4e
commit 004dd73c5e
1 changed files with 1 additions and 1 deletions

View File

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