]> source.dussan.org Git - nextcloud-server.git/commitdiff
get translations from settings, not core
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 16 Apr 2014 15:33:56 +0000 (17:33 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:53:56 +0000 (12:53 +0200)
settings/ajax/changegroupname.php
settings/ajax/creategroup.php

index a70440c0e4ee81e210ed71da03c2874c1c9e6444..9bb3c0af12511f41e0ce75f955de6d5d129ea577 100644 (file)
@@ -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(
index f78d123270efd3c02f78df4c101ca35108e5cf89..854f2c37189a645a3694fe1390306b34c0c5e6d7 100644 (file)
@@ -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())) {