Skip to content

Commit

Permalink
Added computeChangeSet to deleted items
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Vison committed May 27, 2018
1 parent ef7234b commit 0548505
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Service/SyncService.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,7 @@ public function addToDeleteSyncState($class, $id) {
$deleteEntry->setTimestamp(time());

$this->em->persist($deleteEntry);
$uow = $this->em->getUnitOfWork();
$uow->computeChangeSet($this->em->getClassMetadata(SyncDeleteState::class), $deleteEntry);
}
}

0 comments on commit 0548505

Please sign in to comment.