summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-10-28 21:46:28 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-28 21:46:28 +0200
commit740659a04c28f8b2bfd9265d459dd3bca202300f (patch)
treed800c3896184bdfc00333f4067c4d567b8ab6d4b /settings/personal.php
parentf2cae3cee127220a5fde2726af8074837ee81ed1 (diff)
downloadnextcloud-server-740659a04c28f8b2bfd9265d459dd3bca202300f.tar.gz
nextcloud-server-740659a04c28f8b2bfd9265d459dd3bca202300f.zip
Move away from OC_L10N
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php2
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