mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-17 16:58:51 +00:00
[ticket/11688] tpl_ files are no longer used
Remove tpl_ and ctpl_ from cache->purge() because those prefixes are no longer used. PHPBB3-11688
This commit is contained in:
parent
81e0859041
commit
a68aed5119
1 changed files with 1 additions and 3 deletions
4
phpBB/phpbb/cache/driver/file.php
vendored
4
phpBB/phpbb/cache/driver/file.php
vendored
|
@ -228,9 +228,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
|
||||||
elseif (strpos($filename, 'container_') === 0 ||
|
elseif (strpos($filename, 'container_') === 0 ||
|
||||||
strpos($filename, 'url_matcher') === 0 ||
|
strpos($filename, 'url_matcher') === 0 ||
|
||||||
strpos($filename, 'sql_') === 0 ||
|
strpos($filename, 'sql_') === 0 ||
|
||||||
strpos($filename, 'data_') === 0 ||
|
strpos($filename, 'data_') === 0)
|
||||||
strpos($filename, 'ctpl_') === 0 ||
|
|
||||||
strpos($filename, 'tpl_') === 0)
|
|
||||||
{
|
{
|
||||||
$this->remove_file($fileInfo->getPathname());
|
$this->remove_file($fileInfo->getPathname());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue