mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
37658d02f1
1 changed files with 3 additions and 4 deletions
|
@ -73,6 +73,7 @@ class install_extensions extends \phpbb\install\task_base
|
|||
$this->extension_table = $container->get_parameter('tables.ext');
|
||||
|
||||
$this->log = $container->get('log');
|
||||
$this->config = $container->get('config');
|
||||
$this->user = $container->get('user');
|
||||
$this->extension_manager = $container->get('ext.manager');
|
||||
$this->db = $container->get('dbal.conn');
|
||||
|
@ -87,15 +88,13 @@ class install_extensions extends \phpbb\install\task_base
|
|||
$cache = $container->get('cache.driver');
|
||||
$cache->destroy('config');
|
||||
|
||||
$this->config = new db(
|
||||
global $config;
|
||||
$config = new db(
|
||||
$this->db,
|
||||
$cache,
|
||||
$container->get_parameter('tables.config')
|
||||
);
|
||||
|
||||
global $config;
|
||||
$config = $this->config;
|
||||
|
||||
// Make sure asset version exists in config. Otherwise we might try to
|
||||
// insert the assets_version setting into the database and cause a
|
||||
// duplicate entry error.
|
||||
|
|
Loading…
Add table
Reference in a new issue