From 8a5c111990ee9cd8906920b895ec613d1d1e2ac6 Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Tue, 25 Oct 2016 10:48:31 +0200 Subject: [PATCH] IcingaServiceTable: Remove no longer used code from appliedOnes refs #12033 --- application/tables/IcingaServiceTable.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/application/tables/IcingaServiceTable.php b/application/tables/IcingaServiceTable.php index 30a8b4bd..41b75a99 100644 --- a/application/tables/IcingaServiceTable.php +++ b/application/tables/IcingaServiceTable.php @@ -110,17 +110,6 @@ class IcingaServiceTable extends QuickTable protected function appliedOnes($id) { - if ($this->connection()->isPgsql()) { - $nameCol = "s.object_name || COALESCE(': ' || ARRAY_TO_STRING(ARRAY_AGG(" - . "a.assign_type || ' where ' || a.filter_string" - . " ORDER BY a.assign_type, a.filter_string), ', '), '')"; - } else { - $nameCol = "s.object_name || COALESCE(': ' || GROUP_CONCAT(" - . "a.assign_type || ' where ' || a.filter_string" - . " ORDER BY a.assign_type, a.filter_string SEPARATOR ', '" - . "), '')"; - } - $db = $this->connection()->getConnection(); $query = $db->select()->from( array('s' => 'icinga_service'),