mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
[ticket/11450] Fix all instances of phpbb_extension_metadata_manager
PHPBB3-11450
This commit is contained in:
parent
001e3ebe9e
commit
62f35121d9
@ -54,7 +54,7 @@ class acp_extensions
|
|||||||
// If they've specified an extension, let's load the metadata manager and validate it.
|
// If they've specified an extension, let's load the metadata manager and validate it.
|
||||||
if ($ext_name)
|
if ($ext_name)
|
||||||
{
|
{
|
||||||
$md_manager = new phpbb_extension_metadata_manager($ext_name, $db, $phpbb_extension_manager, $phpbb_root_path, $phpEx, $template, $config);
|
$md_manager = new phpbb_extension_metadata_manager($ext_name, $config, $phpbb_extension_manager, $template, $phpbb_root_path);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -155,7 +155,7 @@ class phpbb_extension_manager
|
|||||||
*/
|
*/
|
||||||
public function create_extension_metadata_manager($name, phpbb_template $template)
|
public function create_extension_metadata_manager($name, phpbb_template $template)
|
||||||
{
|
{
|
||||||
return new phpbb_extension_metadata_manager($name, $this->db, $this, $this->phpbb_root_path, $this->php_ext, $template, $this->config);
|
return new phpbb_extension_metadata_manager($name, $this->config, $this, $template, $this->phpbb_root_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -422,12 +422,10 @@ class metadata_manager_test extends phpbb_database_test_case
|
|||||||
{
|
{
|
||||||
return new phpbb_extension_metadata_manager_test(
|
return new phpbb_extension_metadata_manager_test(
|
||||||
$ext_name,
|
$ext_name,
|
||||||
$this->db,
|
$this->config,
|
||||||
$this->extension_manager,
|
$this->extension_manager,
|
||||||
$this->phpbb_root_path,
|
|
||||||
$this->phpEx,
|
|
||||||
$this->template,
|
$this->template,
|
||||||
$this->config
|
$this->phpbb_root_path
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user