aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-11 22:46:37 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-11 22:46:37 -0700
commit485b19958ea51fbe9c3c1c348aedb0bf8e9e87b8 (patch)
tree5b0ed1a0a6e34bacc1db622388f333a585c60668 /include/identity.php
parentbc8840eab5298aef6902ac0751adf91df5232188 (diff)
downloadvolse-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
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php4
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);