diff options
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/personal.php b/settings/personal.php index a0d08aa0bd5..01c358de3ae 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -68,7 +68,7 @@ $storageInfo=OC_Helper::getStorageInfo('/'); $user = OC::$server->getUserManager()->get(OC_User::getUser()); $email = $user->getEMailAddress(); -$userLang=$config->getUserValue( OC_User::getUser(), 'core', 'lang', OC_L10N::findLanguage() ); +$userLang=$config->getUserValue( OC_User::getUser(), 'core', 'lang', \OC::$server->getL10NFactory()->findLanguage() ); $languageCodes = \OC::$server->getL10NFactory()->findAvailableLanguages(); // array of common languages |