aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-08 14:34:44 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-08 14:34:44 +0200
commit67b2957bf99090b51a03f394f4993521c2c3c08b (patch)
tree209c047801250a71d10ea24deef32be8e932191e /settings/ajax
parent637cff68ac2944d6029eb015640bbbd0e686641b (diff)
downloadnextcloud-server-67b2957bf99090b51a03f394f4993521c2c3c08b.tar.gz
nextcloud-server-67b2957bf99090b51a03f394f4993521c2c3c08b.zip
Check for admin user instead of subadmin
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/excludegroups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/excludegroups.php b/settings/ajax/excludegroups.php
index 2934a448a6a..c3488c5bae7 100644
--- a/settings/ajax/excludegroups.php
+++ b/settings/ajax/excludegroups.php
@@ -1,5 +1,5 @@
<?php
-OC_JSON::checkSubAdminUser();
+OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
$selectedGroups = isset($_POST["selectedGroups"]) ? json_decode($_POST["selectedGroups"]) : array();