forked from GNUsocial/gnu-social
Use the same cache string in all places for file:notice-ids
This commit is contained in:
parent
9449235765
commit
5358fb3cce
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user