From e09310ffb712a4c597de571b6be49c30d4b0b5ae Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 8 Aug 2011 10:51:13 -0400 Subject: [PATCH] Cache the repeat_of query for noticelists --- lib/noticelist.php | 1 + 1 file changed, 1 insertion(+) 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)); } } } -- 2.39.5