mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/17414] Replace confirm types with enum
PHPBB-17414
This commit is contained in:
@@ -458,7 +458,7 @@ if ($config['enable_post_confirm'] && !$user->data['is_registered'])
|
||||
/** @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_POST);
|
||||
$captcha->init(\phpbb\captcha\plugins\confirm_type::POST);
|
||||
}
|
||||
|
||||
// Is the user able to post within this forum?
|
||||
|
Reference in New Issue
Block a user