Merge pull request #10930 from owncloud/use-admincheck

Check for admin user instead of subadmin
This commit is contained in:
Lukas Reschke 2014-09-08 17:25:30 +02:00
commit a92d6f3c50
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?php
OC_JSON::checkSubAdminUser();
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
$selectedGroups = isset($_POST["selectedGroups"]) ? json_decode($_POST["selectedGroups"]) : array();