Skip to content

Commit

Permalink
Controllers: Remove obsolete tab extension
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Sep 1, 2023
1 parent e41b053 commit 98acbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions library/Cube/Web/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -294,7 +292,6 @@ public function createTabs(): Tabs
->add('cube/services', [
'label' => $this->translate('Services'),
'url' => 'cube/services' . ($params === '' ? '' : '?' . $params)
])
->extend(new DashboardAction());
]);
}
}
4 changes: 1 addition & 3 deletions library/Cube/Web/IdoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -193,7 +192,6 @@ public function createTabs(): Tabs
->add('cube/services', [
'label' => $this->translate('Services'),
'url' => 'cube/services' . ($params === '' ? '' : '?' . $params)
])
->extend(new DashboardAction());
]);
}
}

0 comments on commit 98acbcf

Please sign in to comment.