Cache the repeat_of query for noticelists

This commit is contained in:
Evan Prodromou 2011-08-08 10:51:13 -04:00
parent 0c762dde42
commit e09310ffb7
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ class NoticeList extends Widget
if (!empty($p)) {
Memcached_DataObject::pivotGet('Fave', 'notice_id', $ids, array('user_id' => $p->id));
Memcached_DataObject::pivotGet('Notice', 'repeat_of', $ids, array('profile_id' => $p->id));
}
}
}