aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Notifications.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2018-04-09 22:41:40 +0200
committerGitHub <noreply@github.com>2018-04-09 22:41:40 +0200
commit482e26ae26b07a9444452dc41ad46bb4cbe08424 (patch)
tree8538645fb78241d90c1653fee8ab41f4cb3b7c93 /Zotlabs/Widget/Notifications.php
parent04935f139d924514b066a3cbe3a544102090de59 (diff)
parentc50105b8c155de6b2e3bf3fcfcc6697db9dbe8f4 (diff)
downloadvolse-hubzilla-482e26ae26b07a9444452dc41ad46bb4cbe08424.tar.gz
volse-hubzilla-482e26ae26b07a9444452dc41ad46bb4cbe08424.tar.bz2
volse-hubzilla-482e26ae26b07a9444452dc41ad46bb4cbe08424.zip
Merge pull request #1053 from jschweinsberg/fix/pubstream-notifications
Public stream notifications
Diffstat (limited to 'Zotlabs/Widget/Notifications.php')
-rw-r--r--Zotlabs/Widget/Notifications.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php
index f2619c5cf..fc78a2a39 100644
--- a/Zotlabs/Widget/Notifications.php
+++ b/Zotlabs/Widget/Notifications.php
@@ -123,7 +123,7 @@ class Notifications {
];
}
- if(get_config('system', 'disable_discover_tab') != 1) {
+ if(can_view_public_stream()) {
$notifications[] = [
'type' => 'pubs',
'icon' => 'globe',