]> source.dussan.org Git - nextcloud-server.git/commitdiff
Check for admin user instead of subadmin
authorLukas Reschke <lukas@owncloud.com>
Mon, 8 Sep 2014 12:34:44 +0000 (14:34 +0200)
committerLukas Reschke <lukas@owncloud.com>
Mon, 8 Sep 2014 12:34:44 +0000 (14:34 +0200)
settings/ajax/excludegroups.php

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