summaryrefslogtreecommitdiff
path: root/actions/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/public.php')
-rw-r--r--actions/public.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php
index b66a3f0f1..f99215dad 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -63,7 +63,9 @@ class PublicAction extends StreamAction {
# XXX: sub-optimal
- $notice->is_local = 1;
+ if (common_config('public', 'localonly')) {
+ $notice->is_local = 1;
+ }
$notice->orderBy('created DESC, notice.id DESC');