mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/17414] Replace confirm types with enum
PHPBB-17414
This commit is contained in:
@@ -238,7 +238,7 @@ class ucp_register
|
||||
/** @var \phpbb\captcha\factory $captcha_factory */
|
||||
$captcha_factory = $phpbb_container->get('captcha.factory');
|
||||
$captcha = $captcha_factory->get_instance($config['captcha_plugin']);
|
||||
$captcha->init(\phpbb\captcha\plugins\plugin_interface::CONFIRM_REGISTRATION);
|
||||
$captcha->init(\phpbb\captcha\plugins\confirm_type::REGISTRATION);
|
||||
}
|
||||
|
||||
$timezone = $config['board_timezone'];
|
||||
|
Reference in New Issue
Block a user