mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:50:10 +00:00
Replace REGISTER_* constants by Module\Register::* ones
This commit is contained in:
parent
0ccb6afdb5
commit
cef6757c92
20 changed files with 75 additions and 47 deletions
|
@ -43,7 +43,7 @@ class Login extends BaseModule
|
|||
$a->internalRedirect();
|
||||
}
|
||||
|
||||
return self::form(defaults($_SESSION, 'return_path', null), intval(Config::get('config', 'register_policy')) !== REGISTER_CLOSED);
|
||||
return self::form(defaults($_SESSION, 'return_path', null), intval(Config::get('config', 'register_policy')) !== \Friendica\Module\Register::CLOSED);
|
||||
}
|
||||
|
||||
public static function post()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue