put block_public back where it is needed, which is in mod_public and not mod_home
This commit is contained in:
parent
edd2d1e8d4
commit
9a5d9fb8c5
@ -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;
|
||||
|
||||
|
@ -1 +1 @@
|
||||
2015-06-09.1058
|
||||
2015-06-10.1059
|
||||
|
Reference in New Issue
Block a user