Replace REGISTER_* constants by Module\Register::* ones

This commit is contained in:
Hypolite Petovan 2018-12-27 20:56:15 -05:00
parent 0ccb6afdb5
commit cef6757c92
20 changed files with 75 additions and 47 deletions

View 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);