BranchMerger: remove obsolete method call

This commit is contained in:
Thomas Gelf 2021-10-18 13:33:41 +02:00
parent 2d79281583
commit 30c6e50e33
1 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ namespace Icinga\Module\Director\Db\Branch;
use Icinga\Module\Director\Data\Db\DbObject;
use Icinga\Module\Director\Data\Db\DbObjectTypeRegistry;
use Icinga\Module\Director\Db;
use Icinga\Module\Director\Objects\IcingaObject;
use Ramsey\Uuid\UuidInterface;
class BranchMerger
@ -128,7 +127,6 @@ class BranchMerger
}
} else {
if ($exists) {
$current = $class::requireWithUniqueId($uuid, $this->connection);
$activity->applyToDbObject($class::requireWithUniqueId($uuid, $this->connection))->store();
// TODO: you modified an object, and related properties have been changed in the meantime.
// We're able to detect this with the given data, and might want to offer a rebase.