mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10491] Make recreate_database static.
PHPBB3-10491
This commit is contained in:
@@ -192,7 +192,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||||||
return file_get_contents(self::$config['phpbb_functional_url'] . 'install/index.php?mode=install&sub=' . $sub, false, $context);
|
return file_get_contents(self::$config['phpbb_functional_url'] . 'install/index.php?mode=install&sub=' . $sub, false, $context);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function recreate_database($config)
|
static private function recreate_database($config)
|
||||||
{
|
{
|
||||||
$db_conn_mgr = new phpbb_database_test_connection_manager($config);
|
$db_conn_mgr = new phpbb_database_test_connection_manager($config);
|
||||||
$db_conn_mgr->recreate_db();
|
$db_conn_mgr->recreate_db();
|
||||||
|
Reference in New Issue
Block a user