From fd728c2815d3e21f5f6022b973109a839fe0164f Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Fri, 8 Jul 2011 20:36:39 -0400 Subject: [PATCH] [ticket/10003] Require db_tools.php in database_update.php. Use require_updated to use the new version of db_tools if one is present. PHPBB3-10003 --- phpBB/install/database_update.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 7b6deb5727..8154155650 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -99,6 +99,8 @@ require($phpbb_root_path . 'includes/constants.' . $phpEx); require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx); +phpbb_require_updated('includes/db/db_tools.' . $phpEx); + // new table constants are separately defined here in case the updater is run // before the files are updated if (!defined('LOGIN_ATTEMPT_TABLE'))