From 7562eddb690ca493529b33c9c6fb0cd3c12beb01 Mon Sep 17 00:00:00 2001
From: Michael Weimann <mail@michael-weimann.eu>
Date: Mon, 14 Jan 2019 00:12:23 +0100
Subject: [PATCH] Fix location source

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
---
 lib/private/Settings/Personal/PersonalInfo.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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),
-- 
GitLab