diff --git a/settings/ajax/excludegroups.php b/settings/ajax/excludegroups.php index 2934a448a6ae4bb967f56231b99c97835d2724d7..c3488c5bae7ef6f8a9880464053a1f02c112846e 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();