Modified notifications widget to add the public stream when the current user is allowed to see it only
This commit is contained in:
parent
04935f139d
commit
530a378aa1
@ -123,7 +123,7 @@ class Notifications {
|
||||
];
|
||||
}
|
||||
|
||||
if(get_config('system', 'disable_discover_tab') != 1) {
|
||||
if(can_view_public_stream()) {
|
||||
$notifications[] = [
|
||||
'type' => 'pubs',
|
||||
'icon' => 'globe',
|
||||
|
Reference in New Issue
Block a user