]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/publicrss.php
need a profileurl for new users
[quix0rs-gnu-social.git] / actions / publicrss.php
index 0cf572dbe7aaa7d74665ac1006c889bc20db43c7..93314ee326dda0a03eeb51f66fcf76f26c9433c2 100644 (file)
@@ -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');