[icinga-checkins] icinga.org: icingaweb2-module-director/feature/service-set-12891: IcingaServiceTable: Remove no longer used code from appliedOnes

git at icinga.org git at icinga.org
Wed Oct 26 01:12:34 CEST 2016


Module: icingaweb2-module-director
Branch: feature/service-set-12891
Commit: 8a5c111990ee9cd8906920b895ec613d1d1e2ac6
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=8a5c111990ee9cd8906920b895ec613d1d1e2ac6

Author: Markus Frosch <markus.frosch at icinga.com>
Date:   Tue Oct 25 10:48:31 2016 +0200

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 30a8b4b..41b75a9 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'),



More information about the icinga-checkins mailing list