1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11854] Rename captchas.factory service to captcha.factory

PHPBB3-11854
This commit is contained in:
Tristan Darricau
2014-08-09 15:57:01 +02:00
parent d73d606f11
commit b91abf1a0b
10 changed files with 11 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ class acp_captcha
$user->add_lang('acp/board');
$factory = $phpbb_container->get('captchas.factory');
$factory = $phpbb_container->get('captcha.factory');
$captchas = $factory->get_captcha_types();
$selected = request_var('select_captcha', $config['captcha_plugin']);
@@ -138,7 +138,7 @@ class acp_captcha
{
global $db, $user, $config, $phpbb_container;
$captcha = $phpbb_container->get('captchas.factory')->get_instance($selected);
$captcha = $phpbb_container->get('captcha.factory')->get_instance($selected);
$captcha->init(CONFIRM_REG);
$captcha->execute_demo();