Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-24 01:17:44 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-01-24 10:33:03 +0300
commitde2c5350a916dfaa6e3e1e11939e47345f5579f8 (patch)
treebfb50d12dafd4b77631bf6c5fba706974b628e6c
parent78fadcb9b748acb69bd168221b72332bc99509e1 (diff)
Show proper default locale
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--lib/private/Settings/Personal/PersonalInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php
index 8c1c8cb19b8..98991ce6d40 100644
--- a/lib/private/Settings/Personal/PersonalInfo.php
+++ b/lib/private/Settings/Personal/PersonalInfo.php
@@ -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());