provide option to block the public stream unless authenticated, since there could be legal issues with unmoderated content
This commit is contained in:
@@ -73,9 +73,7 @@ EOT;
|
||||
// nav links: array of array('href', 'text', 'extra css classes', 'title')
|
||||
$nav = [];
|
||||
|
||||
$disable_discover_tab = get_config('system','disable_discover_tab') || get_config('system','disable_discover_tab') === false;
|
||||
|
||||
if(! $disable_discover_tab)
|
||||
if(can_view_public_stream())
|
||||
$nav['pubs'] = true;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user