block_public_blackout setting
This commit is contained in:
parent
722d7ff38d
commit
ae3ca2b7df
@ -924,6 +924,9 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) {
|
||||
$pdesc = true;
|
||||
$reddress = true;
|
||||
|
||||
if($block && intval(get_config('system','block_public_blackout')))
|
||||
return $o;
|
||||
|
||||
if((! is_array($profile)) && (! count($profile)))
|
||||
return $o;
|
||||
|
||||
@ -935,6 +938,7 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) {
|
||||
$show_connect = false;
|
||||
|
||||
|
||||
|
||||
$profile['picdate'] = urlencode($profile['picdate']);
|
||||
|
||||
call_hooks('profile_sidebar_enter', $profile);
|
||||
|
Reference in New Issue
Block a user