Check for admin user instead of subadmin
This commit is contained in:
parent
637cff68ac
commit
67b2957bf9
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
OC_JSON::checkSubAdminUser();
|
||||
OC_JSON::checkAdminUser();
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
$selectedGroups = isset($_POST["selectedGroups"]) ? json_decode($_POST["selectedGroups"]) : array();
|
||||
|
|
Loading…
Reference in a new issue