Fixed post deleting

This commit is contained in:
Marcin Kurczewski 2014-10-04 18:42:46 +02:00
parent 17cc4e7947
commit 1a8568392f

View file

@ -82,6 +82,7 @@ class HistoryService
public function getPostDeleteSnapshot(\Szurubooru\Entities\Post $post)
{
$snapshot = $this->getPostSnapshot($post);
$snapshot->setData([]);
$snapshot->setOperation(\Szurubooru\Entities\Snapshot::OPERATION_DELETE);
return $snapshot;
}