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, 3 insertions, 1 deletions
diff --git a/actions/publicrss.php b/actions/publicrss.php
index 185a4ff78..98a1908ab 100644
--- a/actions/publicrss.php
+++ b/actions/publicrss.php
@@ -38,7 +38,9 @@ class PublicrssAction extends Rss10Action {
# XXX: bad performance
- $notice->is_local = 1;
+ if (common_config('public', 'localonly')) {
+ $notice->is_local = 1;
+ }
$notice->orderBy('created DESC, notice.id DESC');