mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:35:30 +00:00
make sure we honour the disable_discover_tab pref
This commit is contained in:
parent
2c02f1184c
commit
54fd8b21db
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,11 @@ function diaspora_dispatch_public($msg) {
|
|||
return;
|
||||
}
|
||||
|
||||
$sys_disabled = get_config('system','disable_diaspora_discover_tab');
|
||||
$sys_disabled = true;
|
||||
|
||||
if(! get_config('system','disable_discover_tab')) {
|
||||
$sys_disabled = get_config('system','disable_diaspora_discover_tab');
|
||||
}
|
||||
$sys = (($sys_disabled) ? null : get_sys_channel());
|
||||
|
||||
// find everybody following or allowing this author
|
||||
|
|
Loading…
Reference in a new issue