put block_public back where it is needed, which is in mod_public and not mod_home

This commit is contained in:
redmatrix 2015-06-10 17:44:04 -07:00
parent edd2d1e8d4
commit 9a5d9fb8c5
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,12 @@ function public_content(&$a, $update = 0, $load = false) {
if($load)
$_SESSION['loadtime'] = datetime_convert();
if(get_config('system','block_public') && (! get_account_id()) && (! remote_channel())) {
return login();
}
if(get_config('system','disable_discover_tab'))
return;

View File

@ -1 +1 @@
2015-06-09.1058
2015-06-10.1059