From 6993faaf67b6e822f7b03bd972fe42c9b4dd1d5d Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Tue, 18 Dec 2018 22:07:41 +0100 Subject: Add the "server info" settings Signed-off-by: Michael Weimann --- lib/private/Settings/Admin/ServerInfo.php | 43 ++++++++++++++++++++++++++ lib/private/Settings/Manager.php | 2 ++ lib/private/Settings/Personal/PersonalInfo.php | 2 +- 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 lib/private/Settings/Admin/ServerInfo.php (limited to 'lib/private/Settings') diff --git a/lib/private/Settings/Admin/ServerInfo.php b/lib/private/Settings/Admin/ServerInfo.php new file mode 100644 index 00000000000..e4c7a83ed87 --- /dev/null +++ b/lib/private/Settings/Admin/ServerInfo.php @@ -0,0 +1,43 @@ +getPriority()] = [$form]; $form = $this->container->query(Admin\Mail::class); $forms[$form->getPriority()] = [$form]; + $form = $this->container->query(Admin\ServerInfo::class); + $forms[$form->getPriority()] = [$form]; } if ($section === 'security') { /** @var ISettings $form */ diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php index bd9cd263260..42a89a5f309 100644 --- a/lib/private/Settings/Personal/PersonalInfo.php +++ b/lib/private/Settings/Personal/PersonalInfo.php @@ -141,7 +141,7 @@ class PersonalInfo implements ISettings { 'twitterVerification' => $userData[AccountManager::PROPERTY_TWITTER]['verified'], 'groups' => $this->getGroups($user), 'dataLocation' => 'Germany', - 'provider' => 'Hetzner Online GmbH', + 'provider' => 'Mustermann GmbH', 'providerLink' => 'https://www.hetzner.de/', 'providerPrivacyLink' => 'https://www.hetzner.de/rechtliches/datenschutz', 'encryptionEnabled' => true || $this->encryptionManager->isEnabled(), -- cgit v1.2.3