1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/12960] Do not try to enable removed captcha during install

PHPBB3-12960
This commit is contained in:
Marc Alexander
2024-04-17 20:42:41 +02:00
parent 1baf5c295e
commit 5d11098753

View File

@@ -166,12 +166,6 @@ class add_config_settings extends database_task
'site_desc' => $this->install_config->get('board_description'),
];
if (@extension_loaded('gd'))
{
$updates['captcha_plugin'] = 'core.captcha.plugins.gd';
$updates['captcha_gd'] = '1';
}
$ref = substr($referer, strpos($referer, '://') + 3);
if (!(stripos($ref, $server_name) === 0))
{