mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaServiceTable: Remove no longer used code from appliedOnes
refs #12033
This commit is contained in:
parent
72ce3cfb33
commit
8a5c111990
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user