summaryrefslogtreecommitdiff
path: root/actions/publicrss.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/publicrss.php')
-rw-r--r--actions/publicrss.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/publicrss.php b/actions/publicrss.php
index 621058d3f..185a4ff78 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');