X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=6cf4c8836c8de48a5c2b617ff625b3253f58ce20;hb=9c507e9577286c757df1946441f30e529082a3c8;hp=e03f28e85b098175dd65bea15ef4712f27b1326e;hpb=e447375cddb847edbc9d4486be3938674ae66b8c;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index e03f28e85b..6cf4c8836c 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -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'])) {