Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-08 14:16:22 +0300
committerJulius Härtl <jus@bitgrid.net>2018-05-08 16:05:22 +0300
commit6db6161e6c33096d79765adf1b6e264612acf953 (patch)
tree22cac27f7cdc5ee9cb9b2e3de84a1098fa1d20e2 /lib/AppInfo
parent79c6ae2b50c4b31b7cc55cf84df14cb936cda554 (diff)
Move navigation registration to appinfo.xml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/Application.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index de4931a8..2e1a6db9 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -93,18 +93,4 @@ class Application extends App {
];
});
}
-
- public function registerNavigation() {
- $urlGenerator = $this->getContainer()->getServer()->getURLGenerator();
- $l = $this->getContainer()->getServer()->getL10N('firstrunwizard');
-
- $this->getContainer()->getServer()->getNavigationManager()->add([
- 'type' => 'settings',
- 'id' => 'about',
- 'order' => 5,
- 'href' => '#about',
- 'name' => $l->t('About'),
- 'icon' => $urlGenerator->imagePath('core', 'actions/info.svg'),
- ]);
- }
}