diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-08-09 15:57:01 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-08-11 01:16:22 +0200 |
commit | b91abf1a0bd751da640219596a94019f70086c0b (patch) | |
tree | c277cb04b3b31cace50420aa00a3c74af3fd0330 /phpBB/includes/ucp | |
parent | d73d606f11897f13e3779c76261be6f96139f0e0 (diff) | |
download | forums-b91abf1a0bd751da640219596a94019f70086c0b.tar forums-b91abf1a0bd751da640219596a94019f70086c0b.tar.gz forums-b91abf1a0bd751da640219596a94019f70086c0b.tar.bz2 forums-b91abf1a0bd751da640219596a94019f70086c0b.tar.xz forums-b91abf1a0bd751da640219596a94019f70086c0b.zip |
[ticket/11854] Rename captchas.factory service to captcha.factory
PHPBB3-11854
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r-- | phpBB/includes/ucp/ucp_confirm.php | 2 | ||||
-rw-r--r-- | phpBB/includes/ucp/ucp_login_link.php | 2 | ||||
-rw-r--r-- | phpBB/includes/ucp/ucp_register.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_confirm.php b/phpBB/includes/ucp/ucp_confirm.php index 8ade142e2b..7392f8dea8 100644 --- a/phpBB/includes/ucp/ucp_confirm.php +++ b/phpBB/includes/ucp/ucp_confirm.php @@ -38,7 +38,7 @@ class ucp_confirm { global $db, $user, $phpbb_root_path, $config, $phpEx, $phpbb_container; - $captcha = $phpbb_container->get('captchas.factory')->get_instance($config['captcha_plugin']); + $captcha = $phpbb_container->get('captcha.factory')->get_instance($config['captcha_plugin']); $captcha->init(request_var('type', 0)); $captcha->execute(); diff --git a/phpBB/includes/ucp/ucp_login_link.php b/phpBB/includes/ucp/ucp_login_link.php index 7c768992f7..5ca5df00f7 100644 --- a/phpBB/includes/ucp/ucp_login_link.php +++ b/phpBB/includes/ucp/ucp_login_link.php @@ -197,7 +197,7 @@ class ucp_login_link { case LOGIN_ERROR_ATTEMPTS: - $captcha = $phpbb_container->get('captchas.factory')->get_instance($config['captcha_plugin']); + $captcha = $phpbb_container->get('captcha.factory')->get_instance($config['captcha_plugin']); $captcha->init(CONFIRM_LOGIN); $template->assign_vars(array( diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php index dbe2233553..a303197563 100644 --- a/phpBB/includes/ucp/ucp_register.php +++ b/phpBB/includes/ucp/ucp_register.php @@ -182,7 +182,7 @@ class ucp_register // The CAPTCHA kicks in here. We can't help that the information gets lost on language change. if ($config['enable_confirm']) { - $captcha = $phpbb_container->get('captchas.factory')->get_instance($config['captcha_plugin']); + $captcha = $phpbb_container->get('captcha.factory')->get_instance($config['captcha_plugin']); $captcha->init(CONFIRM_REG); } |