Cache the repeat_of query for noticelists
This commit is contained in:
parent
0c762dde42
commit
e09310ffb7
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user