]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove legacy "Check for user comment"
authorLukas Reschke <lukas@statuscode.ch>
Thu, 20 Feb 2014 09:52:34 +0000 (10:52 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:53:52 +0000 (12:53 +0200)
I don't think these comments are necessary anymore and therefore they should get killed.

settings/ajax/changegroupname.php

index 2b149b2bba5309c4cc03fa52c1843aa2163447b7..1d9c24b6b35f1004e7ab4da2ebad4ffd44d20840 100644 (file)
@@ -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
+}