diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-07-13 18:44:37 +0100 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-07-13 18:44:37 +0100 |
commit | e03f2a97b6718e6aa72c46b9517a79e13dd7823b (patch) | |
tree | 560491cc644efddd8d7f6cd93c98e1539e6bbda2 | |
parent | 29aece3472ff2d9c54b38c0d4204c907bb068d77 (diff) | |
download | volse-hubzilla-e03f2a97b6718e6aa72c46b9517a79e13dd7823b.tar.gz volse-hubzilla-e03f2a97b6718e6aa72c46b9517a79e13dd7823b.tar.bz2 volse-hubzilla-e03f2a97b6718e6aa72c46b9517a79e13dd7823b.zip |
Provide profile tabs opt-out.
-rw-r--r-- | include/conversation.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index b6db54943..49415c776 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1476,7 +1476,10 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ $nickname = $channel['channel_address']; $uid = (($a->profile['profile_uid']) ? $a->profile['profile_uid'] : local_user()); - + + if (get_pconfig($uid,system,noprofiletabs)) + return; + if(x($_GET,'tab')) $tab = notags(trim($_GET['tab'])); |