Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-08 16:34:44 +0400
committerLukas Reschke <lukas@owncloud.com>2014-09-08 16:34:44 +0400
commit67b2957bf99090b51a03f394f4993521c2c3c08b (patch)
tree209c047801250a71d10ea24deef32be8e932191e /settings/ajax
parent637cff68ac2944d6029eb015640bbbd0e686641b (diff)
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();