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:
friendica 2015-01-14 13:52:34 -08:00
parent 7090b58f68
commit 1005618faf
2 changed files with 6 additions and 1 deletions

View File

@ -109,6 +109,11 @@ function home_content(&$a, $update = 0, $load = false) {
}
else {
if(get_config('system','disable_discover_tab')) {
call_hooks('home_content',$o);
return $o;
}
if(! $update) {
$maxheight = get_config('system','home_divmore_height');

View File

@ -1 +1 @@
2015-01-12.917
2015-01-14.918