mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
Clean up duplicate configuration actions
This commit is contained in:
parent
b65511eb6c
commit
c735a8a0c2
4 changed files with 18 additions and 65 deletions
|
|
@ -167,8 +167,6 @@ class memberAdminController extends member
|
|||
'enable_join',
|
||||
'enable_confirm',
|
||||
'enable_find_account_question',
|
||||
'webmaster_name',
|
||||
'webmaster_email',
|
||||
'password_strength',
|
||||
'password_hashing_algorithm',
|
||||
'password_hashing_work_factor',
|
||||
|
|
@ -196,11 +194,6 @@ class memberAdminController extends member
|
|||
$args->password_hashing_auto_upgrade = 'N';
|
||||
}
|
||||
|
||||
if((!$args->webmaster_name || !$args->webmaster_email) && $args->enable_confirm == 'Y')
|
||||
{
|
||||
return new Object(-1, 'msg_mail_authorization');
|
||||
}
|
||||
|
||||
$oModuleController = getController('module');
|
||||
$output = $oModuleController->updateModuleConfig('member', $args);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue