mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
reflect pubstream disable/enable logic change in can_view_public_stream()
This commit is contained in:
3
boot.php
3
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user