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:
@@ -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'];
|
||||
|
||||
|
Reference in New Issue
Block a user