Fixed post note removal didn't generate snapshot

This commit is contained in:
Marcin Kurczewski 2014-11-19 19:40:06 +01:00
parent 44a4184eb8
commit 6473ed74d3

View file

@ -82,6 +82,7 @@ class PostNotesService
$transactionFunc = function() use ($postNote)
{
$this->postNoteDao->deleteById($postNote->getId());
$this->postHistoryService->savePostChange($postNote->getPost());
};
$this->transactionManager->commit($transactionFunc);
}