X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=9f1810120258254661e2bf4045cb7ed54c2ac585;hb=40e9bbeb88961e494510a18f24d595abfb83f9f8;hp=8e53c24f3d4c1a5e0475695b3e1ee27ff1288924;hpb=55e54bb9500f54bb075dcbc2054018de0969d9e7;p=friendica.git diff --git a/mod/home.php b/mod/home.php index 8e53c24f3d..9f18101202 100644 --- a/mod/home.php +++ b/mod/home.php @@ -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; - }}