diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 22:46:37 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 22:46:37 -0700 |
commit | 485b19958ea51fbe9c3c1c348aedb0bf8e9e87b8 (patch) | |
tree | 5b0ed1a0a6e34bacc1db622388f333a585c60668 | |
parent | bc8840eab5298aef6902ac0751adf91df5232188 (diff) | |
download | volse-hubzilla-485b19958ea51fbe9c3c1c348aedb0bf8e9e87b8.tar.gz volse-hubzilla-485b19958ea51fbe9c3c1c348aedb0bf8e9e87b8.tar.bz2 volse-hubzilla-485b19958ea51fbe9c3c1c348aedb0bf8e9e87b8.zip |
don't provide a connect button on the sys channel profile sidebar
-rw-r--r-- | include/identity.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php index 06d8a4cf8..29d9ef022 100644 --- a/include/identity.php +++ b/include/identity.php @@ -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); |