Skip to content
Snippets Groups Projects
Commit 78e1b710 authored by Raghu Nayyar's avatar Raghu Nayyar Committed by Arthur Schiwon
Browse files

Reverts Bogus Changes.

parent 71160ff8
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ $groupname = $_POST["groupname"];
// Does the group exist?
if( in_array( $groupname, OC_Group::getGroups())) {
OC_JSON::error(array("data" => array( "message" => 'Group already exists' )));
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to add group") )));
exit();
}
......@@ -16,5 +16,5 @@ if( OC_Group::createGroup( $groupname )) {
OC_JSON::success(array("data" => array( "groupname" => $groupname )));
}
else{
OC_JSON::error(array("data" => array( "message" => 'Unable to add group' )));
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to add group") )));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment