aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-xphpBB/install/install_install.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index 4dc5696b73..2dfe839939 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1170,17 +1170,15 @@ class install_install extends module
include($phpbb_root_path . 'includes/db/db_tools.php');
include($phpbb_root_path . 'install/schemas/schema_data.php');
- $tools = new phpbb_db_tools($db);
-
// we must do this so that we can handle the errors
- $tools->return_statements = true;
+ phpbb_db_tools::$return_statements = true;
foreach ($schema_data as $table_name => $table_data)
{
// Change prefix
$table_name = preg_replace('#phpbb_#i', $data['table_prefix'], $table_name);
- $statements = $tools->sql_create_table($table_name, $table_data);
+ $statements = phpbb_db_tools::sql_create_table($table_name, $table_data);
foreach ($statements as $sql)
{