summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-03-29 17:23:22 +0200
committerJulius Härtl <jus@bitgrid.net>2018-05-03 08:58:23 +0200
commit9a6b2d28fa4bb6f10a8568c37a5729ac00054561 (patch)
treee5263bd84f3ae4687f40380456790e015d03202b /lib
parentf6f0f5be4095b0551ae522889c503cf6150b1a6c (diff)
downloadnextcloud-server-9a6b2d28fa4bb6f10a8568c37a5729ac00054561.tar.gz
nextcloud-server-9a6b2d28fa4bb6f10a8568c37a5729ac00054561.zip
Move additional settings to main server settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Settings/Admin/Mail.php4
-rw-r--r--lib/private/Settings/Manager.php7
2 files changed, 4 insertions, 7 deletions
diff --git a/lib/private/Settings/Admin/Mail.php b/lib/private/Settings/Admin/Mail.php
index 46a0d654f57..74a94a4c7a0 100644
--- a/lib/private/Settings/Admin/Mail.php
+++ b/lib/private/Settings/Admin/Mail.php
@@ -29,7 +29,7 @@ use OCP\AppFramework\Http\TemplateResponse;
use OCP\IConfig;
use OCP\Settings\ISettings;
-class Additional implements ISettings {
+class Mail implements ISettings {
/** @var IConfig */
private $config;
@@ -81,6 +81,6 @@ class Additional implements ISettings {
* E.g.: 70
*/
public function getPriority() {
- return 0;
+ return 10;
}
}
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php
index ebca8e64921..68f43a60c90 100644
--- a/lib/private/Settings/Manager.php
+++ b/lib/private/Settings/Manager.php
@@ -269,6 +269,8 @@ class Manager implements IManager {
/** @var ISettings $form */
$form = new Admin\Server($this->dbc, $this->request, $this->config, $this->lockingProvider, $this->l);
$forms[$form->getPriority()] = [$form];
+ $form = new Admin\Mail($this->config);
+ $forms[$form->getPriority()] = [$form];
}
if ($section === 'encryption') {
/** @var ISettings $form */
@@ -280,11 +282,6 @@ class Manager implements IManager {
$form = new Admin\Sharing($this->config, $this->l);
$forms[$form->getPriority()] = [$form];
}
- if ($section === 'additional') {
- /** @var ISettings $form */
- $form = new Admin\Additional($this->config);
- $forms[$form->getPriority()] = [$form];
- }
if ($section === 'tips-tricks') {
/** @var ISettings $form */
$form = new Admin\TipsTricks($this->config);