aboutsummaryrefslogtreecommitdiff
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/install_install.php
parent[ticket/11305] Extract hook finder from cache service. (diff)
downloadphpbb-b94f9ae3029777fa0aba2f3cb52b321925ce7e72.tar.gz
phpbb-b94f9ae3029777fa0aba2f3cb52b321925ce7e72.tar.bz2
phpbb-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/install_install.php')
-rw-r--r--phpBB/install/install_install.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index dfd9cd6c22..c68cc27fb6 100644
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -52,12 +52,13 @@ class install_install extends module
function main($mode, $sub)
{
- global $lang, $template, $language, $phpbb_root_path, $cache;
+ global $lang, $template, $language, $phpbb_root_path;
+ global $phpbb_container;
switch ($sub)
{
case 'intro':
- $cache->purge();
+ $phpbb_container->get('cache.driver')->purge();
$this->page_title = $lang['SUB_INTRO'];