1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 15:01:33 +02:00

[ticket/11305] Retrieve cache driver from container rather than cache service.

This only covers some of the call sites.

PHPBB3-11305
This commit is contained in:
Oleg Pudeyev
2013-01-01 20:57:21 -05:00
parent 7adae349a9
commit b94f9ae302
4 changed files with 10 additions and 9 deletions

View File

@@ -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'];