diff --git a/classes/File_to_post.php b/classes/File_to_post.php index 7d417d58b7bfd0e6b8791d223aca368ddbdba0a7..bcb6771f4f19077cdd265f2c3c61511f4af586e7 100644 --- a/classes/File_to_post.php +++ b/classes/File_to_post.php @@ -56,7 +56,7 @@ class File_to_post extends Memcached_DataObject $f = File::staticGet($file_id); if (!empty($f)) { - $f->blowNoticeCache(); + $f->blowCache(); } } @@ -77,7 +77,7 @@ class File_to_post extends Memcached_DataObject { $f = File::staticGet('id', $this->file_id); if (!empty($f)) { - $f->blowNoticeCache(); + $f->blowCache(); } return parent::delete(); }