1
1
Fork 0

Add Register module in src/

- Update REGISTER_* constants definition
- Update register template variable name
This commit is contained in:
Hypolite Petovan 2018-12-27 20:50:55 -05:00
commit 0ccb6afdb5
4 changed files with 316 additions and 5 deletions

View file

@ -103,9 +103,9 @@ define('SSL_POLICY_SELFSIGN', 2);
* Registration policies
* @{
*/
define('REGISTER_CLOSED', 0);
define('REGISTER_APPROVE', 1);
define('REGISTER_OPEN', 2);
define('REGISTER_CLOSED', \Friendica\Module\Register::CLOSED);
define('REGISTER_APPROVE', \Friendica\Module\Register::APPROVE);
define('REGISTER_OPEN', \Friendica\Module\Register::OPEN);
/**
* @}
*/