aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/install/database_update.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 7cf3b02e9f..7d7572b204 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1913,16 +1913,13 @@ function change_database_data(&$no_updates, $version)
}
$db->sql_freeresult($result);
- global $db_tools;
+ global $db_tools, $table_prefix;
// Recover from potentially broken Q&A CAPTCHA table on firebird
+ // Q&A CAPTCHA was uninstallable, so it's safe to remove these
+ // without data loss
if ($db_tools->sql_layer == 'firebird')
{
- if ($config['captcha_plugin'] == 'phpbb_captcha_qa')
- {
- setconfig('captcha_plugin', 'phpbb_captcha_nogd');
- }
-
$tables = array(
$table_prefix . 'captcha_questions',
$table_prefix . 'captcha_answers',