mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
IcingaObjectFieldLoader: use new repository-based
...inheritance helper methods
This commit is contained in:
parent
4680fa5447
commit
38ebf2dd2d
1 changed files with 3 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/***
|
||||
|
|
|
|||
Loading…
Reference in a new issue