From 1159a64236ff627085ecf28c3e0c8a528f91addd Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 9 Dec 2015 11:47:35 +0100 Subject: [PATCH] IcingaServiceTable: do not show zones --- application/tables/IcingaServiceTable.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/application/tables/IcingaServiceTable.php b/application/tables/IcingaServiceTable.php index 27a3a625..c78a7306 100644 --- a/application/tables/IcingaServiceTable.php +++ b/application/tables/IcingaServiceTable.php @@ -15,7 +15,6 @@ class IcingaServiceTable extends QuickTable return array( 'id' => 's.id', 'service' => 's.object_name', - 'zone' => 'z.object_name', ); } @@ -29,7 +28,6 @@ class IcingaServiceTable extends QuickTable $view = $this->view(); return array( 'service' => $view->translate('Servicename'), - 'zone' => $view->translate('Zone'), ); } @@ -39,10 +37,6 @@ class IcingaServiceTable extends QuickTable $query = $db->select()->from( array('s' => 'icinga_service'), array() - )->joinLeft( - array('z' => 'icinga_zone'), - 's.zone_id = z.id', - array() ); return $query;