зеркало из https://github.com/nextcloud/server.git
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:
Родитель
16fb48f2eb
Коммит
8a8800203e
|
@ -1,9 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
// Check if we are a user
|
|
||||||
|
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
OC_JSON::checkLoggedIn();
|
OC_JSON::checkLoggedIn();
|
||||||
|
|
||||||
OCP\JSON::checkAdminUser();
|
OCP\JSON::checkAdminUser();
|
||||||
|
|
||||||
$l=OC_L10N::get('core');
|
$l=OC_L10N::get('core');
|
||||||
|
@ -23,4 +21,4 @@ if(OC_Group::setGroupname($groupname)) {
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change group name"))));
|
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change group name"))));
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче