diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-17 16:37:37 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-17 16:37:37 +0200 |
commit | 2116943964e0c10984976f6d38eba044e35f983a (patch) | |
tree | c351abcd1ccd033c36b472f73d087a8343ee638d /mod/community.php | |
parent | 906addf865ccab2c98d5035fc6c1b10d43004dfe (diff) | |
parent | 1df892ebbce59ac6293eacbe065ebc71826b4d85 (diff) | |
download | volse-hubzilla-2116943964e0c10984976f6d38eba044e35f983a.tar.gz volse-hubzilla-2116943964e0c10984976f6d38eba044e35f983a.tar.bz2 volse-hubzilla-2116943964e0c10984976f6d38eba044e35f983a.zip |
Merge remote-tracking branch 'friendika/master'
Diffstat (limited to 'mod/community.php')
-rw-r--r-- | mod/community.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mod/community.php b/mod/community.php index cb255029f..34c992bad 100644 --- a/mod/community.php +++ b/mod/community.php @@ -1,5 +1,12 @@ <?php +function community_init(&$a) { + if(! local_user()) + unset($_SESSION['theme']); + + +} + function community_content(&$a, $update = 0) { @@ -19,9 +26,6 @@ function community_content(&$a, $update = 0) { require_once('include/security.php'); require_once('include/conversation.php'); - if(x($_SESSION,'theme')) - unset($_SESSION['theme']); - $o .= '<h3>' . t('Community') . '</h3>'; if(! $update) { |