honor disable_discover_tab in mod/home - it isn't a tab here but basically block public content from showing if it's set.
This commit is contained in:
parent
7090b58f68
commit
1005618faf
@ -109,6 +109,11 @@ function home_content(&$a, $update = 0, $load = false) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
if(get_config('system','disable_discover_tab')) {
|
||||||
|
call_hooks('home_content',$o);
|
||||||
|
return $o;
|
||||||
|
}
|
||||||
|
|
||||||
if(! $update) {
|
if(! $update) {
|
||||||
|
|
||||||
$maxheight = get_config('system','home_divmore_height');
|
$maxheight = get_config('system','home_divmore_height');
|
||||||
|
@ -1 +1 @@
|
|||||||
2015-01-12.917
|
2015-01-14.918
|
||||||
|
Reference in New Issue
Block a user