summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2019-01-14 00:12:23 +0100
committerMichael Weimann <mail@michael-weimann.eu>2019-01-14 00:12:23 +0100
commit7562eddb690ca493529b33c9c6fb0cd3c12beb01 (patch)
treec72a5e4bbd874cf959926de1c258ee07b1a6c8ac /lib
parent2cd3fd3dc2b31e460ac8ff887a360e14e542ea1c (diff)
downloadnextcloud-server-7562eddb690ca493529b33c9c6fb0cd3c12beb01.tar.gz
nextcloud-server-7562eddb690ca493529b33c9c6fb0cd3c12beb01.zip
Fix location source
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'lib')
-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 f3163abff92..3cac3c7c6c2 100644
--- a/lib/private/Settings/Personal/PersonalInfo.php
+++ b/lib/private/Settings/Personal/PersonalInfo.php
@@ -144,7 +144,7 @@ class PersonalInfo implements ISettings {
'twitterScope' => $userData[AccountManager::PROPERTY_TWITTER]['scope'],
'twitterVerification' => $userData[AccountManager::PROPERTY_TWITTER]['verified'],
'groups' => $this->getGroups($user),
- 'dataLocation' => 'Germany',
+ 'dataLocation' => $this->config->getSystemValue(ServerInfo::SETTING_LOCATION),
'provider' => $this->config->getSystemValue(ServerInfo::SETTING_PROVIDER),
'providerLink' => $this->config->getSystemValue(ServerInfo::SETTING_PROVIDER_WEBSITE),
'providerPrivacyLink' => $this->config->getSystemValue(ServerInfo::SETTING_PROVIDER_PRIVACY_LINK),