aboutsummaryrefslogtreecommitdiff
path: root/classes/File.php
diff options
context:
space:
mode:
authorMikael Nordfeldth <mmn@hethane.se>2015-06-04 17:02:45 +0200
committerMikael Nordfeldth <mmn@hethane.se>2015-06-04 17:02:45 +0200
commit5358fb3cce663c4903fdc35a07b731d45c3ab279 (patch)
treed56c0356977788037c205c5f94e4438d82689a2c /classes/File.php
parent94492357650bbd2ab9edfaa17c1ae4165fb585aa (diff)
downloadgnu-social-5358fb3cce663c4903fdc35a07b731d45c3ab279.tar
gnu-social-5358fb3cce663c4903fdc35a07b731d45c3ab279.zip
Use the same cache string in all places for file:notice-ids
Diffstat (limited to 'classes/File.php')
-rw-r--r--classes/File.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/File.php b/classes/File.php
index 1cb7eab6b8..76c00dc1f8 100644
--- a/classes/File.php
+++ b/classes/File.php
@@ -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);
}