diff options
author | 2015-02-02 20:07:46 +0100 | |
---|---|---|
committer | 2015-02-02 20:07:46 +0100 | |
commit | df77174a2b2a8f9e86ee8f992556dd4820484be3 (patch) | |
tree | 3a83dabddd37c465de62e60bd2bcecf3c8a29474 /phpBB/install/install_update.php | |
parent | Merge branch 'develop-ascraeus' into develop (diff) | |
parent | [ticket/13494] Update calls to `set_config()` (diff) | |
download | phpbb-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.gz phpbb-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.bz2 phpbb-df77174a2b2a8f9e86ee8f992556dd4820484be3.zip |
Merge pull request #3280 from MGaetan89/ticket/13494
[ticket/13494] Change set_config() calls with $config->set()
* MGaetan89/ticket/13494:
[ticket/13494] Update calls to `set_config()`
Diffstat (limited to 'phpBB/install/install_update.php')
-rw-r--r-- | phpBB/install/install_update.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index 8f233b7efe..d8b50c4aa3 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -115,7 +115,6 @@ class install_update extends module // We need to fill the config to let internal functions correctly work $config = new \phpbb\config\db($db, new \phpbb\cache\driver\null, CONFIG_TABLE); - set_config(null, null, null, $config); set_config_count(null, null, null, $config); // Force template recompile @@ -236,7 +235,7 @@ class install_update extends module // Fill DB version if (empty($config['dbms_version'])) { - set_config('dbms_version', $db->sql_server_info(true)); + $config->set('dbms_version', $db->sql_server_info(true)); } if ($this->test_update === false) |