Fixed tag removal snapshot

This commit is contained in:
Marcin Kurczewski 2014-11-07 14:58:29 +01:00
parent d313890d8a
commit ad9d0e57ad

View file

@ -36,7 +36,7 @@ class TagSnapshotProvider
public function getTagDeleteSnapshot(Tag $tag) public function getTagDeleteSnapshot(Tag $tag)
{ {
$snapshot = $this->getTagSnapshot($tag); $snapshot = $this->getTagSnapshot($tag);
$snapshot->setData([]); $snapshot->setData(['name' => $tag->getName()]);
$snapshot->setOperation(Snapshot::OPERATION_DELETE); $snapshot->setOperation(Snapshot::OPERATION_DELETE);
return $snapshot; return $snapshot;
} }