forked from GNUsocial/gnu-social
		
	Cache the repeat_of query for noticelists
This commit is contained in:
		@@ -143,6 +143,7 @@ class NoticeList extends Widget
 | 
				
			|||||||
    	
 | 
					    	
 | 
				
			||||||
    	if (!empty($p)) {
 | 
					    	if (!empty($p)) {
 | 
				
			||||||
    		Memcached_DataObject::pivotGet('Fave', 'notice_id', $ids, array('user_id' => $p->id));
 | 
					    		Memcached_DataObject::pivotGet('Fave', 'notice_id', $ids, array('user_id' => $p->id));
 | 
				
			||||||
 | 
					    		Memcached_DataObject::pivotGet('Notice', 'repeat_of', $ids, array('profile_id' => $p->id));
 | 
				
			||||||
    	}
 | 
					    	}
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user