local-only is optional on public timeline
darcs-hash:20080822210307-84dde-c90f6e7953d11c5b12c7a084ac23e5578412932c.gz
This commit is contained in:
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user