Merge pull request #10930 from owncloud/use-admincheck
Check for admin user instead of subadmin
This commit is contained in:
commit
a92d6f3c50
|
@ -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 New Issue