We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 39cf2338 authored by Evan Prodromou's avatar Evan Prodromou

Bad method call in File_to_post

parent db43195f
...@@ -56,7 +56,7 @@ class File_to_post extends Memcached_DataObject ...@@ -56,7 +56,7 @@ class File_to_post extends Memcached_DataObject
$f = File::staticGet($file_id); $f = File::staticGet($file_id);
if (!empty($f)) { if (!empty($f)) {
$f->blowNoticeCache(); $f->blowCache();
} }
} }
...@@ -77,7 +77,7 @@ class File_to_post extends Memcached_DataObject ...@@ -77,7 +77,7 @@ class File_to_post extends Memcached_DataObject
{ {
$f = File::staticGet('id', $this->file_id); $f = File::staticGet('id', $this->file_id);
if (!empty($f)) { if (!empty($f)) {
$f->blowNoticeCache(); $f->blowCache();
} }
return parent::delete(); return parent::delete();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment