mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix user creation, checkSubAdminUser is only available in OC_JSON
This commit is contained in:
parent
b3221f0e4e
commit
004dd73c5e
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
OCP\JSON::callCheck();
|
||||
OCP\JSON::checkSubAdminUser();
|
||||
OC_JSON::checkSubAdminUser();
|
||||
|
||||
if(OC_User::isAdminUser(OC_User::getUser())) {
|
||||
$groups = array();
|
||||
|
|
|
|||
Loading…
Reference in a new issue