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
|
@ -34,7 +34,7 @@ return [
|
|||
'config' => [
|
||||
'admin_email' => '',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => REGISTER_OPEN,
|
||||
'register_policy' => \Friendica\Module\Register::OPEN,
|
||||
'register_text' => '',
|
||||
],
|
||||
'system' => [
|
||||
|
|
|
@ -16,10 +16,11 @@ return [
|
|||
'info' => '',
|
||||
|
||||
// register_policy (Constant)
|
||||
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
||||
// Be certain to create your own personal account before setting REGISTER_CLOSED.
|
||||
// REGISTER_APPROVE requires you set system.admin_email to the email address of an already registered person who can authorize and/or approve/deny the request.
|
||||
'register_policy' => REGISTER_CLOSED,
|
||||
// Your choices are OPEN, APPROVE, or CLOSED.
|
||||
// Be certain to create your own personal account before setting CLOSED.
|
||||
// APPROVE requires you set system.admin_email to the email address of an
|
||||
// already registered person who can authorize and/or approve/deny the request.
|
||||
'register_policy' => \Friendica\Module\Register::CLOSED,
|
||||
|
||||
// register_text (String)
|
||||
// Will be displayed prominently on the registration page.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue