Sync: deletions are also modifications
This commit is contained in:
parent
c1ba91ece9
commit
d0e1ecb8d7
|
@ -105,6 +105,8 @@ class Sync
|
|||
foreach ($objects as $object) {
|
||||
if ($object->hasBeenModified()) {
|
||||
$modified[] = $object;
|
||||
} elseif ($object instanceof IcingaObject && $object->shouldBeRemoved()) {
|
||||
$modified[] = $object;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue