mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/16643] Add Doctrine DBAL to phpBB
PHPBB3-16643
This commit is contained in:
@@ -493,7 +493,7 @@ class convertor
|
||||
$error[] = $this->language->lang('INST_ERR_DB_CONNECT');
|
||||
}
|
||||
|
||||
$src_dbms = $this->config_php_file->convert_30_dbms_to_31($src_dbms);
|
||||
$src_dbms = \phpbb\config_php_file::convert_30_dbms_to_31($src_dbms);
|
||||
|
||||
// Check table prefix
|
||||
if (empty($error))
|
||||
|
@@ -71,7 +71,7 @@ class convertor
|
||||
require_once($phpbb_root_path . 'includes/constants.' . $phpEx);
|
||||
require_once($phpbb_root_path . 'includes/functions_convert.' . $phpEx);
|
||||
|
||||
$dbms = $phpbb_config_php_file->convert_30_dbms_to_31($dbms);
|
||||
$dbms = \phpbb\config_php_file::convert_30_dbms_to_31($dbms);
|
||||
|
||||
/** @var \phpbb\db\driver\driver_interface $db */
|
||||
$db = new $dbms();
|
||||
|
@@ -29,7 +29,7 @@ $phpbb_config_php_file = new \phpbb\config_php_file($phpbb_root_path, $phpEx);
|
||||
extract($phpbb_config_php_file->get_all());
|
||||
unset($dbpasswd);
|
||||
|
||||
$dbms = $phpbb_config_php_file->convert_30_dbms_to_31($dbms);
|
||||
$dbms = \phpbb\config_php_file::convert_30_dbms_to_31($dbms);
|
||||
|
||||
/**
|
||||
* $convertor_data provides some basic information about this convertor which is
|
||||
|
Reference in New Issue
Block a user