Sync: deletions are also modifications

This commit is contained in:
Thomas Gelf 2016-04-22 14:47:49 +02:00
parent c1ba91ece9
commit d0e1ecb8d7
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ class Sync
foreach ($objects as $object) {
if ($object->hasBeenModified()) {
$modified[] = $object;
} elseif ($object instanceof IcingaObject && $object->shouldBeRemoved()) {
$modified[] = $object;
}
}