From 1d8aa56808d2208021bd913b86e720f7ae72c231 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 13 Jun 2008 11:24:20 -0400 Subject: mark off TODO, only local notices in public stream darcs-hash:20080613152420-84dde-76da80c7345815986ee47fab45dcbde2bad895ab.gz --- actions/publicrss.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actions/publicrss.php') diff --git a/actions/publicrss.php b/actions/publicrss.php index 0cf572dbe..93314ee32 100644 --- a/actions/publicrss.php +++ b/actions/publicrss.php @@ -35,6 +35,10 @@ class PublicrssAction extends Rss10Action { $notices = array(); $notice = DB_DataObject::factory('notice'); + + # FIXME: bad performance + + $notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)'); $notice->orderBy('created DESC'); -- cgit v1.2.3-54-g00ecf