Show proper default locale

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2019-01-23 23:17:44 +01:00 committed by Backportbot
parent e6863782eb
commit c7ea554c62
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class PersonalInfo implements ISettings {
$uid = $user->getUID();
$userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', 'en_US');
$userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', $this->l10nFactory->findLocale());
$userLang = $this->config->getUserValue($uid, 'core', 'lang', $this->l10nFactory->findLanguage());