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

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();