phpBB

Code Changes

File: phpbb/install/installer.php

  Unmodified   Added   Modified   Removed
Line 137Line 137

if (!$this->install_config->get('cache_purged_before', false) && $this->purge_cache_before)
{


if (!$this->install_config->get('cache_purged_before', false) && $this->purge_cache_before)
{

			/** @var \phpbb\cache\driver\driver_interface $cache */

			/** @var driver_interface $cache */

			$cache = $this->container_factory->get('cache.driver');
$cache->purge();
$this->install_config->set('cache_purged_before', true);

			$cache = $this->container_factory->get('cache.driver');
$cache->purge();
$this->install_config->set('cache_purged_before', true);

Line 311Line 311

try
{


try
{

					/** @var \phpbb\cache\driver\driver_interface $cache */

					/** @var driver_interface $cache */

					$cache = $this->container_factory->get('cache.driver');
$cache->purge();
}

					$cache = $this->container_factory->get('cache.driver');
$cache->purge();
}