From 2902f3330c3695968f4a4fb08f40a5d0c953ad28 Mon Sep 17 00:00:00 2001 From: Jennifer Mourek Date: Tue, 20 Feb 2018 12:30:56 +0100 Subject: [PATCH] TacticalController: Remove UI tab element for exports --- .../controllers/TacticalController.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/modules/monitoring/application/controllers/TacticalController.php b/modules/monitoring/application/controllers/TacticalController.php index 40334185f..e4db55721 100644 --- a/modules/monitoring/application/controllers/TacticalController.php +++ b/modules/monitoring/application/controllers/TacticalController.php @@ -8,16 +8,9 @@ use Icinga\Module\Monitoring\Controller; use Icinga\Web\Url; use Icinga\Web\Widget\Tabextension\DashboardAction; use Icinga\Web\Widget\Tabextension\MenuAction; -use Icinga\Web\Widget\Tabextension\OutputFormat; class TacticalController extends Controller { - public function init() - { - parent::init(); - $this->createTabs(); - } - public function indexAction() { $this->setAutorefreshInterval(15); @@ -111,12 +104,4 @@ class TacticalController extends Controller ->render(); $this->view->statusSummary = $summary; } - - /** - * Create all tabs for this controller - */ - protected function createTabs() - { - $this->getTabs()->extend(new OutputFormat(['pdf'])); - } }