diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-28 12:38:11 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-28 12:38:11 +0100 |
commit | 03df1b4c51d8a02613a81e9ac9da1fc91ce66623 (patch) | |
tree | 7efd0ba2b6d42cacf38dc49947cbe0e0dcf15b50 /lib/private/Settings | |
parent | 74f1b09f3d9d350a3374a35391b79722e81533e9 (diff) | |
download | nextcloud-server-03df1b4c51d8a02613a81e9ac9da1fc91ce66623.tar.gz nextcloud-server-03df1b4c51d8a02613a81e9ac9da1fc91ce66623.zip |
Move admin sections to settings app
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Settings')
-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'); |