summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/ajax/changegroupname.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/settings/ajax/changegroupname.php b/settings/ajax/changegroupname.php
index 2b149b2bba5..1d9c24b6b35 100644
--- a/settings/ajax/changegroupname.php
+++ b/settings/ajax/changegroupname.php
@@ -1,9 +1,7 @@
<?php
-// Check if we are a user
OCP\JSON::callCheck();
OC_JSON::checkLoggedIn();
-
OCP\JSON::checkAdminUser();
$l=OC_L10N::get('core');
@@ -23,4 +21,4 @@ if(OC_Group::setGroupname($groupname)) {
);
} else {
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change group name"))));
-} \ No newline at end of file
+}