summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2014-01-28 22:32:51 +0530
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:52:52 +0200
commitce46cd3680979019de59e48654771f3061076e7b (patch)
tree7e3baaf52980152792d723a6a22cdc9635749dc3 /settings/ajax
parentb506388b75c8454ef54ce05fa0d98db854c10faf (diff)
downloadnextcloud-server-ce46cd3680979019de59e48654771f3061076e7b.tar.gz
nextcloud-server-ce46cd3680979019de59e48654771f3061076e7b.zip
Implements Group Creation from Sidebar
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/creategroup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/creategroup.php b/settings/ajax/creategroup.php
index 0a79527c219..bd878dc1c0a 100644
--- a/settings/ajax/creategroup.php
+++ b/settings/ajax/creategroup.php
@@ -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" => $l->t("Group already exists") )));
+ OC_JSON::error(array("data" => array( "message" => 'Group already exists' )));
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" => $l->t("Unable to add group") )));
+ OC_JSON::error(array("data" => array( "message" => 'Unable to add group' )));
}