From 6db6161e6c33096d79765adf1b6e264612acf953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 8 May 2018 13:16:22 +0200 Subject: Move navigation registration to appinfo.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/AppInfo/Application.php | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/AppInfo') 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'), - ]); - } } -- cgit v1.2.3