diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-08-11 12:23:21 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-08-11 12:23:21 +0200 |
commit | f09db1a7b4d9172035a461e90ce6fa3d7b544df3 (patch) | |
tree | 77aa906455cf020db4e2bec413c56caaec45b8c6 /phpBB/includes/functions.php | |
parent | 7b35bd3e7cb7e18da6aae39807880731c820b0cf (diff) | |
parent | 91df95a90dd3266f4beeb7df7534f75882909581 (diff) | |
download | forums-f09db1a7b4d9172035a461e90ce6fa3d7b544df3.tar forums-f09db1a7b4d9172035a461e90ce6fa3d7b544df3.tar.gz forums-f09db1a7b4d9172035a461e90ce6fa3d7b544df3.tar.bz2 forums-f09db1a7b4d9172035a461e90ce6fa3d7b544df3.tar.xz forums-f09db1a7b4d9172035a461e90ce6fa3d7b544df3.zip |
Merge branch 'develop-ascraeus' into develop
Conflicts:
phpBB/config/services.yml
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index dcdaf684c0..c838876ddd 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2751,11 +2751,6 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa global $db, $user, $template, $auth, $phpEx, $phpbb_root_path, $config; global $request, $phpbb_container; - if (!class_exists('phpbb_captcha_factory', false)) - { - include($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx); - } - $err = ''; // Make sure user->setup() has been called @@ -2865,7 +2860,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa { case LOGIN_ERROR_ATTEMPTS: - $captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']); + $captcha = $phpbb_container->get('captcha.factory')->get_instance($config['captcha_plugin']); $captcha->init(CONFIRM_LOGIN); // $captcha->reset(); |