Fixed post note removal didn't generate snapshot
This commit is contained in:
parent
44a4184eb8
commit
6473ed74d3
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ class PostNotesService
|
|||
$transactionFunc = function() use ($postNote)
|
||||
{
|
||||
$this->postNoteDao->deleteById($postNote->getId());
|
||||
$this->postHistoryService->savePostChange($postNote->getPost());
|
||||
};
|
||||
$this->transactionManager->commit($transactionFunc);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue