Remove legacy "Check for user comment"

I don't think these comments are necessary anymore and therefore they should get killed.
This commit is contained in:
Lukas Reschke 2014-02-20 10:52:34 +01:00 committed by Arthur Schiwon
parent 16fb48f2eb
commit 8a8800203e
1 changed files with 1 additions and 3 deletions

View 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"))));
}
}