Use the same cache string in all places for file:notice-ids

This commit is contained in:
Mikael Nordfeldth 2015-06-04 17:02:45 +02:00
parent 9449235765
commit 5358fb3cce
1 changed files with 2 additions and 2 deletions

View File

@ -510,9 +510,9 @@ class File extends Managed_DataObject
function blowCache($last=false)
{
self::blow('file:notice-ids:%s', $this->urlhash);
self::blow('file:notice-ids:%s', $this->id);
if ($last) {
self::blow('file:notice-ids:%s;last', $this->urlhash);
self::blow('file:notice-ids:%s;last', $this->id);
}
self::blow('file:notice-count:%d', $this->id);
}