don't provide a connect button on the sys channel profile sidebar

This commit is contained in:
redmatrix 2015-06-11 22:46:37 -07:00
parent bc8840eab5
commit 485b19958e

View File

@ -810,6 +810,10 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) {
$is_owner = (($profile['uid'] == local_channel()) ? true : false);
if(is_sys_channel($profile['uid']))
$show_connect = false;
$profile['picdate'] = urlencode($profile['picdate']);
call_hooks('profile_sidebar_enter', $profile);