Bad method call in File_to_post

This commit is contained in:
Evan Prodromou 2010-12-29 13:28:32 -08:00
parent db43195fbf
commit 39cf2338c2
1 changed files with 2 additions and 2 deletions

View 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();
}