mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/17414] Remove install steps for captcha plugins
This should be handled by migrations instead. PHPBB-17414
This commit is contained in:
@@ -128,11 +128,9 @@ class acp_captcha
|
||||
if (isset($captchas['available'][$selected]))
|
||||
{
|
||||
$old_captcha = $factory->get_instance($config['captcha_plugin']);
|
||||
$old_captcha->uninstall();
|
||||
$old_captcha->garbage_collect();
|
||||
|
||||
$config->set('captcha_plugin', $selected);
|
||||
$new_captcha = $factory->get_instance($config['captcha_plugin']);
|
||||
$new_captcha->install();
|
||||
|
||||
$phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_CONFIG_VISUAL');
|
||||
}
|
||||
|
Reference in New Issue
Block a user