From 1005618fafdea956e2941d871bc74cb1158aa043 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 14 Jan 2015 13:52:34 -0800 Subject: honor disable_discover_tab in mod/home - it isn't a tab here but basically block public content from showing if it's set. --- mod/home.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod/home.php') diff --git a/mod/home.php b/mod/home.php index e82aab385..2e57a2ab9 100644 --- a/mod/home.php +++ b/mod/home.php @@ -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'); -- cgit v1.2.3