[ticket/10491] Make recreate_database static.

PHPBB3-10491
This commit is contained in:
Oleg Pudeyev 2012-12-12 21:47:48 -05:00
parent 2bc2cb1f6f
commit 1441b70ae8

View file

@ -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);
}
private function recreate_database($config)
static private function recreate_database($config)
{
$db_conn_mgr = new phpbb_database_test_connection_manager($config);
$db_conn_mgr->recreate_db();