From 0548505809513d18d13829c919fe6048980b63cf Mon Sep 17 00:00:00 2001 From: Benjamin Vison Date: Sun, 27 May 2018 19:29:14 -0400 Subject: [PATCH] Added computeChangeSet to deleted items --- Service/SyncService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Service/SyncService.php b/Service/SyncService.php index 7a7129e..6d55d43 100755 --- a/Service/SyncService.php +++ b/Service/SyncService.php @@ -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); } }