don't provide a connect button on the sys channel profile sidebar
This commit is contained in:
parent
bc8840eab5
commit
485b19958e
@ -810,6 +810,10 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) {
|
|||||||
|
|
||||||
$is_owner = (($profile['uid'] == local_channel()) ? true : false);
|
$is_owner = (($profile['uid'] == local_channel()) ? true : false);
|
||||||
|
|
||||||
|
if(is_sys_channel($profile['uid']))
|
||||||
|
$show_connect = false;
|
||||||
|
|
||||||
|
|
||||||
$profile['picdate'] = urlencode($profile['picdate']);
|
$profile['picdate'] = urlencode($profile['picdate']);
|
||||||
|
|
||||||
call_hooks('profile_sidebar_enter', $profile);
|
call_hooks('profile_sidebar_enter', $profile);
|
||||||
|
Reference in New Issue
Block a user