From bae446973fcf148a956dfe0bc5cdce2d666dccdd Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 17 Jan 2023 10:29:12 +0000 Subject: reflect pubstream disable/enable logic change in can_view_public_stream() --- boot.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 0e324cc5b..3c0b97556 100644 --- a/boot.php +++ b/boot.php @@ -1862,10 +1862,9 @@ function can_view_public_stream() { } } - $site_firehose = ((intval(get_config('system', 'site_firehose', 0))) ? true : false); $net_firehose = ((get_config('system', 'disable_discover_tab', 1)) ? false : true); - if (!($site_firehose || $net_firehose)) { + if (!$net_firehose)) { return false; } -- cgit v1.2.3