IcingaObjectFieldLoader: use new repository-based

...inheritance helper methods
This commit is contained in:
Thomas Gelf 2017-08-13 12:05:03 +02:00
parent 4680fa5447
commit 38ebf2dd2d

View file

@ -448,10 +448,9 @@ class IcingaObjectFieldLoader
//return array();
}
$pathIds = $object->templateResolver()->listInheritancePathIds();
return $this->fetchFieldDetailsForIds(
array_unique($pathIds)
);
$ids = $object->listAncestorIds();
$ids[] = $object->getProperty('id');
return $this->fetchFieldDetailsForIds($ids);
}
/***