mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
DirectorObjectForm: remove imports exception...
...this is already handled by the object itself
This commit is contained in:
parent
018713a13f
commit
0a475e3bcb
@ -208,9 +208,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
foreach ($values as $key => $value) {
|
foreach ($values as $key => $value) {
|
||||||
try {
|
try {
|
||||||
$object->set($key, $value);
|
$object->set($key, $value);
|
||||||
if ($key === 'imports') {
|
if ($object instanceof IcingaObject) {
|
||||||
$object->importedObjects();
|
|
||||||
} elseif ($object instanceof IcingaObject) {
|
|
||||||
$object->resolveUnresolvedRelatedProperties();
|
$object->resolveUnresolvedRelatedProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user