fix caching for conversations, again

This commit is contained in:
Evan Prodromou 2009-06-25 11:23:47 -07:00
parent 69f0613473
commit c96572c090

View File

@ -360,7 +360,7 @@ class Notice extends Memcached_DataObject
{ {
$cache = common_memcache(); $cache = common_memcache();
if ($cache) { if ($cache) {
$ck = 'notice:conversation_ids:'.$this->conversation; $ck = common_cache_key('notice:conversation_ids:'.$this->conversation);
$cache->delete($ck); $cache->delete($ck);
if ($blowLast) { if ($blowLast) {
$cache->delete($ck.';last'); $cache->delete($ck.';last');