summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-20 10:52:34 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:52 +0200
commit8a8800203e33fd95cd479997f9a0e4397e0e61cc (patch)
tree399575abcbb8e7fae2802fb6c29fd94578b2054c /settings/ajax
parent16fb48f2ebf9e7c67972fa74e8a421c9ce694fba (diff)
downloadnextcloud-server-8a8800203e33fd95cd479997f9a0e4397e0e61cc.tar.gz
nextcloud-server-8a8800203e33fd95cd479997f9a0e4397e0e61cc.zip
Remove legacy "Check for user comment"
I don't think these comments are necessary anymore and therefore they should get killed.
Diffstat (limited to 'settings/ajax')
-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
+}