From a91cd75c17124a9c863fd60da03c54555be4a43c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 22 Aug 2008 17:03:07 -0400 Subject: local-only is optional on public timeline darcs-hash:20080822210307-84dde-c90f6e7953d11c5b12c7a084ac23e5578412932c.gz --- actions/public.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actions/public.php') 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'); -- cgit v1.2.3-54-g00ecf