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:
		| @@ -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