From 290a1b04c47a58b2abc28507db9c4df31a42bb3b Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Tue, 6 May 2014 23:15:18 +0200 Subject: [PATCH] [ticket/12402] CAPTCHA plugin migration fails to detect missing plugins PHPBB3-12402 --- .../v310/reset_missing_captcha_plugin.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php diff --git a/phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php b/phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php new file mode 100644 index 0000000000..8fa6a3ff5b --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php @@ -0,0 +1,33 @@ +phpbb_root_path . "includes/captcha/plugins/{$this->config['captcha_plugin']}_plugin." . $this->php_ext)), + array('config.update', array('captcha_plugin', 'phpbb_captcha_nogd')), + )), + ); + } +}