diff --git a/library/Cube/Web/Controller.php b/library/Cube/Web/Controller.php index f8870db..4c85934 100644 --- a/library/Cube/Web/Controller.php +++ b/library/Cube/Web/Controller.php @@ -12,8 +12,6 @@ use Icinga\Module\Icingadb\Common\Auth; use Icinga\Module\Icingadb\Common\Database; use Icinga\Module\Icingadb\Web\Control\ProblemToggle; -use Icinga\Web\View; -use Icinga\Web\Widget\Tabextension\DashboardAction; use ipl\Html\FormElement\CheckboxElement; use ipl\Html\HtmlString; use ipl\Stdlib\Filter; @@ -294,7 +292,6 @@ public function createTabs(): Tabs ->add('cube/services', [ 'label' => $this->translate('Services'), 'url' => 'cube/services' . ($params === '' ? '' : '?' . $params) - ]) - ->extend(new DashboardAction()); + ]); } } diff --git a/library/Cube/Web/IdoController.php b/library/Cube/Web/IdoController.php index be72601..9a145b6 100644 --- a/library/Cube/Web/IdoController.php +++ b/library/Cube/Web/IdoController.php @@ -10,7 +10,6 @@ use Icinga\Module\Cube\IcingaDb\CustomVariableDimension; use Icinga\Module\Cube\IcingaDb\IcingaDbCube; use Icinga\Module\Cube\Ido\IdoCube; -use Icinga\Web\Widget\Tabextension\DashboardAction; use ipl\Stdlib\Str; use ipl\Web\Compat\CompatController; use ipl\Web\Url; @@ -193,7 +192,6 @@ public function createTabs(): Tabs ->add('cube/services', [ 'label' => $this->translate('Services'), 'url' => 'cube/services' . ($params === '' ? '' : '?' . $params) - ]) - ->extend(new DashboardAction()); + ]); } }