summaryrefslogtreecommitdiff
path: root/actions/publicrss.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/publicrss.php')
-rw-r--r--actions/publicrss.php4
1 files changed, 4 insertions, 0 deletions
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');