diff --git a/lib/AppInfo/ApplicationLegacy.php b/lib/AppInfo/ApplicationLegacy.php index 4a299c429..6fac3c6a8 100644 --- a/lib/AppInfo/ApplicationLegacy.php +++ b/lib/AppInfo/ApplicationLegacy.php @@ -92,7 +92,6 @@ class ApplicationLegacy extends App { } public function register(): void { - $this->registerNavigationEntry(); $this->registerUserGroupHooks(); $this->registerNotifications(); $this->registerCommentsEntity(); @@ -100,20 +99,6 @@ class ApplicationLegacy extends App { $this->registerCollaborationResources(); } - public function registerNavigationEntry(): void { - $container = $this->getContainer(); - $this->server->getNavigationManager()->add(static function () use ($container) { - $urlGenerator = $container->query(IURLGenerator::class); - return [ - 'id' => 'deck', - 'order' => 10, - 'href' => $urlGenerator->linkToRoute('deck.page.index'), - 'icon' => $urlGenerator->imagePath('deck', 'deck.svg'), - 'name' => 'Deck', - ]; - }); - } - private function registerUserGroupHooks(): void { $container = $this->getContainer(); // Delete user/group acl entries when they get deleted