From 6473ed74d3c5d561084c26003d544e3ee83a28fe Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Wed, 19 Nov 2014 19:40:06 +0100 Subject: [PATCH] Fixed post note removal didn't generate snapshot --- src/Services/PostNotesService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Services/PostNotesService.php b/src/Services/PostNotesService.php index d270f9c1..47c09151 100644 --- a/src/Services/PostNotesService.php +++ b/src/Services/PostNotesService.php @@ -82,6 +82,7 @@ class PostNotesService $transactionFunc = function() use ($postNote) { $this->postNoteDao->deleteById($postNote->getId()); + $this->postHistoryService->savePostChange($postNote->getPost()); }; $this->transactionManager->commit($transactionFunc); }