]> source.dussan.org Git - nextcloud-server.git/commitdiff
Reverts Bogus Changes.
authorraghunayyar <me@iraghu.com>
Tue, 11 Feb 2014 07:16:27 +0000 (12:46 +0530)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:52:52 +0000 (12:52 +0200)
settings/ajax/creategroup.php

index bd878dc1c0a6ca967368d47f537733661c9a9d0b..b770aaaf3116bbff06d034f6d087cdfc6f3c5bd4 100644 (file)
@@ -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") )));
 }