DirectorObjectForm: remove imports exception...

...this is already handled by the object itself
This commit is contained in:
Thomas Gelf 2016-05-20 08:37:02 +02:00
parent 018713a13f
commit 0a475e3bcb
1 changed files with 1 additions and 3 deletions

View File

@ -208,9 +208,7 @@ abstract class DirectorObjectForm extends QuickForm
foreach ($values as $key => $value) {
try {
$object->set($key, $value);
if ($key === 'imports') {
$object->importedObjects();
} elseif ($object instanceof IcingaObject) {
if ($object instanceof IcingaObject) {
$object->resolveUnresolvedRelatedProperties();
}