From 6e57baf27349fc1f0532b669f9a0fa5f9e269e43 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 16 Jun 2017 16:25:34 +0200 Subject: [PATCH] HostsController: remove beta restrictions The table takes care of this right now --- application/controllers/HostsController.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/application/controllers/HostsController.php b/application/controllers/HostsController.php index 7696efdc..3984ab2c 100644 --- a/application/controllers/HostsController.php +++ b/application/controllers/HostsController.php @@ -6,8 +6,6 @@ use Icinga\Data\Filter\Filter; use Icinga\Data\Filter\FilterChain; use Icinga\Data\Filter\FilterExpression; use Icinga\Module\Director\Objects\IcingaHost; -use Icinga\Module\Director\Restriction\BetaHostgroupRestriction; -use Icinga\Module\Director\Tables\IcingaHostTable; use Icinga\Module\Director\Web\Controller\ObjectsController; class HostsController extends ObjectsController @@ -78,14 +76,4 @@ class HostsController extends ObjectsController $this->setViewScript('objects/form'); } - - /** - * @param IcingaHostTable $table - */ - protected function applyTableFilters($table) - { - $table->addObjectRestriction( - new BetaHostgroupRestriction($this->db(), $this->Auth()) - ); - } }