]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
cleanup
[friendica.git] / mod / home.php
index 8e53c24f3d4c1a5e0475695b3e1ee27ff1288924..9f1810120258254661e2bf4045cb7ed54c2ac585 100644 (file)
@@ -48,7 +48,7 @@ function home_content(App $a) {
                }
        }
 
-       $login = Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === REGISTER_CLOSED ? 0 : 1);
+       $login = Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === \Friendica\Module\Register::CLOSED ? 0 : 1);
 
        $content = '';
        Hook::callAll("home_content",$content);
@@ -61,7 +61,4 @@ function home_content(App $a) {
                '$login' => $login,
                '$content' => $content
        ]);
-
-       return $o;
-
 }}