summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-15 10:04:41 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-26 14:02:30 +0100
commit6aec550d6efb1cb50f6404bf72eb78ea37f36266 (patch)
treeec61ca3cc962acd8081323cd419dd97921c615f4 /settings/personal.php
parent3da78c8f1c9355a726f289e834fa237366c3df20 (diff)
downloadnextcloud-server-6aec550d6efb1cb50f6404bf72eb78ea37f36266.tar.gz
nextcloud-server-6aec550d6efb1cb50f6404bf72eb78ea37f36266.zip
Move findAvailableLanguages() to the factory
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 11b4f762a36..261a459a921 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -63,7 +63,7 @@ $user = OC::$server->getUserManager()->get(OC_User::getUser());
$email = $user->getEMailAddress();
$userLang=$config->getUserValue( OC_User::getUser(), 'core', 'lang', OC_L10N::findLanguage() );
-$languageCodes=OC_L10N::findAvailableLanguages();
+$languageCodes = \OC::$server->getL10NFactory()->findAvailableLanguages();
// array of common languages
$commonLangCodes = array(