diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2020-01-28 10:38:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 10:38:00 +0100 |
commit | 74f1b09f3d9d350a3374a35391b79722e81533e9 (patch) | |
tree | 4382880580e70ee40a11199acccc5efca0e3fa69 /lib | |
parent | 9bc08dc3258b333a8fc4dadf093ef6e18bf838c9 (diff) | |
parent | d8e9cefcfeaf8a98d1af41a118915d0bab34e809 (diff) | |
download | nextcloud-server-74f1b09f3d9d350a3374a35391b79722e81533e9.tar.gz nextcloud-server-74f1b09f3d9d350a3374a35391b79722e81533e9.zip |
Merge pull request #19168 from nextcloud/enh/settings/personal_sections_to_proper_app
Move the Personal sections to the settings app
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Settings/Manager.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index 5b6bea63c6b..46a047e53c6 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -350,11 +350,7 @@ class Manager implements IManager { $this->l = $this->l10nFactory->get('lib'); } - $sections = [ - 0 => [new Section('personal-info', $this->l->t('Personal info'), 0, $this->url->imagePath('core', 'actions/user.svg'))], - 5 => [new Section('security', $this->l->t('Security'), 0, $this->url->imagePath('settings', 'password.svg'))], - 15 => [new Section('sync-clients', $this->l->t('Mobile & desktop'), 0, $this->url->imagePath('core', 'clients/phone.svg'))], - ]; + $sections = []; $legacyForms = \OC_App::getForms('personal'); if (!empty($legacyForms) && $this->hasLegacyPersonalSettingsToRender($legacyForms)) { |