From: Mikael Nordfeldth Date: Thu, 4 Jun 2015 15:02:45 +0000 (+0200) Subject: Use the same cache string in all places for file:notice-ids X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5358fb3cce663c4903fdc35a07b731d45c3ab279;p=quix0rs-gnu-social.git Use the same cache string in all places for file:notice-ids --- 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); }