diff options
-rw-r--r-- | settings/ajax/excludegroups.php | 2 |
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(); |