]> git.mxchange.org Git - friendica.git/blobdiff - mod/community.php
Merge pull request #513 from unary/photo-comments
[friendica.git] / mod / community.php
index 354f68528dab479e8e1565ec08b75d64fbf20841..defc873b0adaca306594fd2b14ab8d0903d7418e 100644 (file)
@@ -1,8 +1,10 @@
 <?php
 
 function community_init(&$a) {
-       if(! local_user())
+       if(! local_user()) {
                unset($_SESSION['theme']);
+               unset($_SESSION['mobile-theme']);
+       }
 
 
 }
@@ -30,8 +32,6 @@ function community_content(&$a, $update = 0) {
        $o .= '<h3>' . t('Community') . '</h3>';
        if(! $update) {
                nav_set_selected('community');
-               $o .= '<div id="live-community"></div>' . "\r\n";
-               $o .= "<script> var profile_uid = -1; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
        }
 
        if(x($a->data,'search'))