summaryrefslogtreecommitdiffstats
path: root/settings
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 18:25:23 +0200
commit96bb1f7f450608823885ce7b6ecbfdb95cbdb822 (patch)
tree743054c6e7b1722ab7d5b01973924e2f1c53b5a7 /settings
parent85cde16febe71aa1539b4a599bd7612c98312a20 (diff)
downloadnextcloud-server-96bb1f7f450608823885ce7b6ecbfdb95cbdb822.tar.gz
nextcloud-server-96bb1f7f450608823885ce7b6ecbfdb95cbdb822.zip
Check for admin user instead of subadmin
Diffstat (limited to 'settings')
-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();