X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpublicrss.php;h=93314ee326dda0a03eeb51f66fcf76f26c9433c2;hb=d0559fdf4dafcaf8446b437f4af089c944a23d09;hp=0cf572dbe7aaa7d74665ac1006c889bc20db43c7;hpb=735b8ddc676cc7d85ca4256994755e61ea6023a1;p=quix0rs-gnu-social.git diff --git a/actions/publicrss.php b/actions/publicrss.php index 0cf572dbe7..93314ee326 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');