Use correct translation file

every translation within the sub folder 'settings' need to use 'settings' on OC_L10N::get
This commit is contained in:
Thomas Müller 2012-09-17 15:00:22 +03:00
parent 1fd3c5fbc0
commit f85b709fae
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ require_once '../../../lib/base.php';
OC_JSON::checkAdminUser();
$l = OC_L10N::get('core');
$l = OC_L10N::get('settings');
if(OC_Config::getValue('appstoreenabled', true)==false) {
OCP\JSON::success(array('type' => 'external', 'data' => array()));