From: Evan Prodromou Date: Mon, 8 Aug 2011 14:51:13 +0000 (-0400) Subject: Cache the repeat_of query for noticelists X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e09310ffb712a4c597de571b6be49c30d4b0b5ae;p=quix0rs-gnu-social.git Cache the repeat_of query for noticelists --- diff --git a/lib/noticelist.php b/lib/noticelist.php index 148f428edf..7ec5be1c0f 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -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)); } } }