mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-01 13:17:52 +02:00
[ticket/13315] Fix loss of CAPTCHA plugin config value.
The plugins were moved to phpbb/captcha/plugins/ after this migration was created, thus the check is no longer valid and ends up resetting the value prematurely. PHPBB3-13315
This commit is contained in:
parent
4ffdb12938
commit
7b33018ade
@ -29,7 +29,8 @@ class reset_missing_captcha_plugin extends \phpbb\db\migration\migration
|
||||
{
|
||||
return array(
|
||||
array('if', array(
|
||||
(!is_file($this->phpbb_root_path . "includes/captcha/plugins/{$this->config['captcha_plugin']}_plugin." . $this->php_ext)),
|
||||
(!is_dir($this->phpbb_root_path . 'phpbb/captcha/plugins/') &&
|
||||
!is_file($this->phpbb_root_path . "includes/captcha/plugins/{$this->config['captcha_plugin']}_plugin." . $this->php_ext)),
|
||||
array('config.update', array('captcha_plugin', 'phpbb_captcha_nogd')),
|
||||
)),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user