Skip to content

Commit

Permalink
EZP-28853: Clear version info cache when clearing version cache (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric authored Mar 7, 2018
1 parent 253a297 commit 5835112
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bundle/Cache/PersistenceCachePurger.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public function contentVersion($contentId, $versionNo)
}

$this->cache->clear('content', $contentId, $versionNo);
$this->cache->clear('content', 'info', $contentId, 'versioninfo', $versionNo);
}

/**
Expand Down

0 comments on commit 5835112

Please sign in to comment.