From cea78db5aff878a22b6be515b71d307262dc66cb Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 3 Jul 2017 15:18:31 +0200 Subject: [PATCH] ServiceSetTables: implement ValidHtml --- application/tables/IcingaServiceSetHostTable.php | 3 ++- application/tables/IcingaServiceSetServiceTable.php | 3 ++- library/Director/Web/Controller/ObjectController.php | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/application/tables/IcingaServiceSetHostTable.php b/application/tables/IcingaServiceSetHostTable.php index 10b284eb..32df6d1c 100644 --- a/application/tables/IcingaServiceSetHostTable.php +++ b/application/tables/IcingaServiceSetHostTable.php @@ -4,8 +4,9 @@ namespace Icinga\Module\Director\Tables; use Icinga\Module\Director\Objects\IcingaServiceSet; use Icinga\Module\Director\Web\Table\QuickTable; +use ipl\Html\ValidHtml; -class IcingaServiceSetHostTable extends QuickTable +class IcingaServiceSetHostTable extends QuickTable implements ValidHtml { protected $set; diff --git a/application/tables/IcingaServiceSetServiceTable.php b/application/tables/IcingaServiceSetServiceTable.php index 7f48f482..c82b1da7 100644 --- a/application/tables/IcingaServiceSetServiceTable.php +++ b/application/tables/IcingaServiceSetServiceTable.php @@ -5,8 +5,9 @@ namespace Icinga\Module\Director\Tables; use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaServiceSet; use Icinga\Module\Director\Web\Table\QuickTable; +use ipl\Html\ValidHtml; -class IcingaServiceSetServiceTable extends QuickTable +class IcingaServiceSetServiceTable extends QuickTable implements ValidHtml { protected $set; diff --git a/library/Director/Web/Controller/ObjectController.php b/library/Director/Web/Controller/ObjectController.php index 0150673c..da7595a8 100644 --- a/library/Director/Web/Controller/ObjectController.php +++ b/library/Director/Web/Controller/ObjectController.php @@ -163,7 +163,6 @@ abstract class ObjectController extends ActionController ->setObject($object) ->setAuth($this->Auth()) ->handleRequest() - ); $this->actions()->add($this->createCloneLink());