Replace REGISTER_* constants by Module\Register::* ones
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user