mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
KickstartHelper: make sure to not run into...
...modified TemplateTree. Need something better here I guess. fixes #1095
This commit is contained in:
parent
7ae1927de4
commit
2968b541ca
@ -192,7 +192,7 @@ class KickstartHelper
|
|||||||
}
|
}
|
||||||
$unset = array();
|
$unset = array();
|
||||||
foreach ($objects as $key => $object) {
|
foreach ($objects as $key => $object) {
|
||||||
foreach ($object->getImports() as $parentName) {
|
foreach ($object->imports()->listImportNames() as $parentName) {
|
||||||
if (! array_key_exists($parentName, $sorted)) {
|
if (! array_key_exists($parentName, $sorted)) {
|
||||||
continue 2;
|
continue 2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user