aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2013-01-01 20:57:21 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2013-01-02 01:29:32 -0500
commitb94f9ae3029777fa0aba2f3cb52b321925ce7e72 (patch)
tree7bd19036716759f90947cae0c46acce080f5eb34 /phpBB/install/database_update.php
parent7adae349a96d5dffbd47ea5eca1e6bee481b7ce1 (diff)
downloadforums-b94f9ae3029777fa0aba2f3cb52b321925ce7e72.tar
forums-b94f9ae3029777fa0aba2f3cb52b321925ce7e72.tar.gz
forums-b94f9ae3029777fa0aba2f3cb52b321925ce7e72.tar.bz2
forums-b94f9ae3029777fa0aba2f3cb52b321925ce7e72.tar.xz
forums-b94f9ae3029777fa0aba2f3cb52b321925ce7e72.zip
[ticket/11305] Retrieve cache driver from container rather than cache service.
This only covers some of the call sites. PHPBB3-11305
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index aeb5ae3859..f31682c784 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -187,7 +187,7 @@ include($phpbb_root_path . 'language/' . $language . '/install.' . $phpEx);
$inline_update = (request_var('type', 0)) ? true : false;
// To let set_config() calls succeed, we need to make the config array available globally
-$config = new phpbb_config_db($db, $cache->get_driver(), CONFIG_TABLE);
+$config = new phpbb_config_db($db, $phpbb_container->get('cache.driver'), CONFIG_TABLE);
set_config(null, null, null, $config);
set_config_count(null, null, null, $config);
@@ -574,7 +574,7 @@ else
add_log('admin', 'LOG_UPDATE_DATABASE', $orig_version, $updates_to_version);
// Now we purge the session table as well as all cache files
-$cache->purge();
+$phpbb_container->get('cache.driver')->purge();
_print_footer();