diff --git a/application/controllers/LayoutController.php b/application/controllers/LayoutController.php index b2a260884..2d84faf3c 100644 --- a/application/controllers/LayoutController.php +++ b/application/controllers/LayoutController.php @@ -25,24 +25,4 @@ class LayoutController extends ActionController $menu = new MenuRenderer(Menu::load(), $url->getRelativeUrl()); $this->view->menuRenderer = $menu->useCustomRenderer(); } - - /** - * Render the top bar - */ - public function topbarAction() - { - $topbarHtmlParts = array(); - - /** @var Hook\TopBarHook $hook */ - $hook = null; - - foreach (Hook::all('TopBar') as $hook) { - $topbarHtmlParts[] = $hook->getHtml($this->getRequest()); - } - - $this->view->topbarHtmlParts = $topbarHtmlParts; - - - $this->renderScript('parts/topbar.phtml'); - } } diff --git a/application/layouts/scripts/parts/topbar.phtml b/application/layouts/scripts/parts/topbar.phtml deleted file mode 100644 index 68f919951..000000000 --- a/application/layouts/scripts/parts/topbar.phtml +++ /dev/null @@ -1,42 +0,0 @@ - diff --git a/library/Icinga/Web/Hook/TopBarHook.php b/library/Icinga/Web/Hook/TopBarHook.php deleted file mode 100644 index 183a0ca07..000000000 --- a/library/Icinga/Web/Hook/TopBarHook.php +++ /dev/null @@ -1,23 +0,0 @@ -