diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-01-29 10:10:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 10:10:39 +0100 |
commit | b490c7cab1269c0e065290127905218647ef0a15 (patch) | |
tree | 7d21e18ce56b06e30815a6b1d6dba4f08e148202 /lib | |
parent | 0585c76d1682f89bce154a181b5d7c5d40ed8f70 (diff) | |
parent | 03df1b4c51d8a02613a81e9ac9da1fc91ce66623 (diff) | |
download | nextcloud-server-b490c7cab1269c0e065290127905218647ef0a15.tar.gz nextcloud-server-b490c7cab1269c0e065290127905218647ef0a15.zip |
Merge pull request #19174 from nextcloud/enh/settings/admin_sectorions_to_proper_app
Move admin sections to settings app
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Settings/Manager.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index 46a047e53c6..87ef74aabaa 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -208,19 +208,8 @@ class Manager implements IManager { * @inheritdoc */ public function getAdminSections(): array { - if ($this->l === null) { - $this->l = $this->l10nFactory->get('lib'); - } - // built-in sections - $sections = [ - 0 => [new Section('overview', $this->l->t('Overview'), 0, $this->url->imagePath('settings', 'admin.svg'))], - 1 => [new Section('server', $this->l->t('Basic settings'), 0, $this->url->imagePath('core', 'actions/settings-dark.svg'))], - 5 => [new Section('sharing', $this->l->t('Sharing'), 0, $this->url->imagePath('core', 'actions/share.svg'))], - 10 => [new Section('security', $this->l->t('Security'), 0, $this->url->imagePath('core', 'actions/password.svg'))], - 50 => [new Section('groupware', $this->l->t('Groupware'), 0, $this->url->imagePath('core', 'places/contacts.svg'))], - 98 => [new Section('additional', $this->l->t('Additional settings'), 0, $this->url->imagePath('core', 'actions/settings-dark.svg'))], - ]; + $sections = []; $appSections = $this->getSections('admin'); |