Skip to content

Commit 24fceca

Browse files
sukhwinder33445nilmerg
authored andcommitted
DependencyNode: Use static call to avoid unnecessary columns in case of summary query
1 parent eed9a3b commit 24fceca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Icingadb/Model/DependencyNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public static function forHost(string $hostId, Connection $db, bool $fetchParent
170170
->getTarget()
171171
);
172172

173-
$query = self::on($db);
173+
$query = static::on($db);
174174

175175
$query->filter(new Exists(
176176
$edge->assembleSelect()

0 commit comments

Comments
 (0)