aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-17 10:29:12 +0000
committerMario <mario@mariovavti.com>2023-01-17 10:29:12 +0000
commitbae446973fcf148a956dfe0bc5cdce2d666dccdd (patch)
tree4eb07332e02036759eef287f5e44ce9cfb0badee /boot.php
parentcd9f35e78ae116e28de6ac4ce89fe94cde9a9928 (diff)
downloadvolse-hubzilla-bae446973fcf148a956dfe0bc5cdce2d666dccdd.tar.gz
volse-hubzilla-bae446973fcf148a956dfe0bc5cdce2d666dccdd.tar.bz2
volse-hubzilla-bae446973fcf148a956dfe0bc5cdce2d666dccdd.zip
reflect pubstream disable/enable logic change in can_view_public_stream()
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php3
1 files changed, 1 insertions, 2 deletions
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;
}