summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-04-16 17:33:56 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:56 +0200
commitcbcda49ee373225a5a4a6cd605ad585735aa29a3 (patch)
tree4191beac8e7e277059fe92e77cac2c4d012514e0 /settings/ajax
parent2a8afb0ad97fde372b444a1d9f14443886537bae (diff)
downloadnextcloud-server-cbcda49ee373225a5a4a6cd605ad585735aa29a3.tar.gz
nextcloud-server-cbcda49ee373225a5a4a6cd605ad585735aa29a3.zip
get translations from settings, not core
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/changegroupname.php4
-rw-r--r--settings/ajax/creategroup.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/settings/ajax/changegroupname.php b/settings/ajax/changegroupname.php
index a70440c0e4e..9bb3c0af125 100644
--- a/settings/ajax/changegroupname.php
+++ b/settings/ajax/changegroupname.php
@@ -4,13 +4,13 @@ OCP\JSON::callCheck();
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAdminUser();
-$l=OC_L10N::get('core');
+$l=OC_L10N::get('settings');
$groupname = $_POST["groupname"];
// Return Success story
// TODO : make changes to the API to allow this.
-// setGroupname doesnt exist yet.
+// setGroupname doesnt exist yet.
if(OC_Group::setGroupname($groupname)) {
OCP\JSON::success(
array("data" => array(
diff --git a/settings/ajax/creategroup.php b/settings/ajax/creategroup.php
index f78d123270e..854f2c37189 100644
--- a/settings/ajax/creategroup.php
+++ b/settings/ajax/creategroup.php
@@ -4,7 +4,7 @@ OCP\JSON::callCheck();
OC_JSON::checkAdminUser();
$groupname = $_POST["groupname"];
-$l = OC_L10N::get('core');
+$l = OC_L10N::get('settings');
// Does the group exist?
if( in_array( $groupname, OC_Group::getGroups())) {