]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
Replace REGISTER_* constants by Module\Register::* ones
[friendica.git] / mod / home.php
index 34f6d436834eac34b5071b64c121e7be25309293..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);