aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-11 20:44:43 -0800
committerfriendica <info@friendica.com>2014-11-11 20:44:43 -0800
commit4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a (patch)
tree1f686a039ba61701513aef5b59b03edeb317b97d /include/conversation.php
parentb5af6679857eeafcb360d7dec69acf11af034c1d (diff)
downloadvolse-hubzilla-4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a.tar.gz
volse-hubzilla-4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a.tar.bz2
volse-hubzilla-4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a.zip
cleanup
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index a531de9ba..c2258c20a 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1493,8 +1493,12 @@ function network_tabs() {
function profile_tabs($a, $is_owner=False, $nickname=Null){
- //echo "<pre>"; var_dump($a->user); killme();
-
+
+ // Don't provide any profile tabs if we're running as the sys channel
+
+ if($a->is_sys)
+ return;
+
$channel = $a->get_channel();
if (is_null($nickname))