[ticket/11854] Update the default captcha choosen during the installation

PHPBB3-11854
This commit is contained in:
Tristan Darricau 2014-08-09 18:17:22 +02:00
parent bd09356c30
commit 850b7dbf07

View file

@ -1382,7 +1382,7 @@ class install_install extends module
if (@extension_loaded('gd')) if (@extension_loaded('gd'))
{ {
$sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config $sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config
SET config_value = 'phpbb_captcha_gd' SET config_value = 'core.captcha.plugins.gd'
WHERE config_name = 'captcha_plugin'"; WHERE config_name = 'captcha_plugin'";
$sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config $sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config