]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bad method call in File_to_post
authorEvan Prodromou <evan@status.net>
Wed, 29 Dec 2010 21:28:32 +0000 (13:28 -0800)
committerEvan Prodromou <evan@status.net>
Wed, 29 Dec 2010 21:28:32 +0000 (13:28 -0800)
classes/File_to_post.php

index 7d417d58b7bfd0e6b8791d223aca368ddbdba0a7..bcb6771f4f19077cdd265f2c3c61511f4af586e7 100644 (file)
@@ -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();
     }