Check for admin user instead of subadmin

This commit is contained in:
Lukas Reschke 2014-09-08 14:34:44 +02:00
parent 637cff68ac
commit 67b2957bf9
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();