aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_update.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/install_update.php')
-rw-r--r--phpBB/install/install_update.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index caa5158dad..7b9020371c 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -411,12 +411,14 @@ class install_update extends module
if ($all_up_to_date)
{
- $db->sql_query('DELETE FROM ' . CONFIG_TABLE . " WHERE config_name = 'version_update_from'");
-
// Add database update to log
add_log('admin', 'LOG_UPDATE_PHPBB', $this->current_version, $this->latest_version);
$cache->purge();
+
+ $db->sql_return_on_error(true);
+ $db->sql_query('DELETE FROM ' . CONFIG_TABLE . " WHERE config_name = 'version_update_from'");
+ $db->sql_return_on_error(false);
}
break;