diff --git a/settings/ajax/changegroupname.php b/settings/ajax/changegroupname.php index a70440c0e4..9bb3c0af12 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 f78d123270..854f2c3718 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())) {