X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpublicrss.php;h=185a4ff785f192c90202a70f0680485579df0256;hb=e440b9cea02549032ba4f79c43964219dea23d82;hp=621058d3fe7668c5d887e85dc13266c055e3c2f9;hpb=bdd0091e7077e09f1c8eb5dfc2b6e6ff2aa1fb8c;p=quix0rs-gnu-social.git diff --git a/actions/publicrss.php b/actions/publicrss.php index 621058d3fe..185a4ff785 100644 --- a/actions/publicrss.php +++ b/actions/publicrss.php @@ -34,11 +34,11 @@ class PublicrssAction extends Rss10Action { $user = $this->user; $notices = array(); - $notice = DB_DataObject::factory('notice'); + $notice = new Notice(); - # FIXME: bad performance + # XXX: bad performance - $notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)'); + $notice->is_local = 1; $notice->orderBy('created DESC, notice.id DESC');