]> git.mxchange.org Git - friendica.git/blobdiff - mod/regmod.php
Replace REGISTER_* constants by Module\Register::* ones
[friendica.git] / mod / regmod.php
index e03f28e85b098175dd65bea15ef4712f27b1326e..6cf4c8836c8de48a5c2b617ff625b3253f58ce20 100644 (file)
@@ -82,7 +82,7 @@ function regmod_content(App $a)
 {
        if (!local_user()) {
                info(L10n::t('Please login.') . EOL);
-               return Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === REGISTER_CLOSED ? 0 : 1);
+               return Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === \Friendica\Module\Register::CLOSED ? 0 : 1);
        }
 
        if (!is_site_admin() || !empty($_SESSION['submanage'])) {