]> git.mxchange.org Git - friendica.git/blobdiff - mod/community.php
Changed $a->get_baseurl() to App::get_baseurl()
[friendica.git] / mod / community.php
index c8f04d8bd619e67bea2afe626065c20b0c1e3a60..2c2ea32b33cc5ee7e4413c14bc9dddc9beb08946 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
-function community_init(&$a) {
-       if(! local_user()) {
+function community_init(App &$a) {
+       if (! local_user()) {
                unset($_SESSION['theme']);
                unset($_SESSION['mobile-theme']);
        }