aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/file.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-07-14 13:20:41 -0400
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-07-14 13:20:41 -0400
commita68aed51190e10535d364db056de97098cd56019 (patch)
tree91f5338c5cd70af129f5b77327212a9f603baa2c /phpBB/phpbb/cache/driver/file.php
parent81e0859041cd181c142a87a5fc78640f92aa5ce0 (diff)
downloadforums-a68aed51190e10535d364db056de97098cd56019.tar
forums-a68aed51190e10535d364db056de97098cd56019.tar.gz
forums-a68aed51190e10535d364db056de97098cd56019.tar.bz2
forums-a68aed51190e10535d364db056de97098cd56019.tar.xz
forums-a68aed51190e10535d364db056de97098cd56019.zip
[ticket/11688] tpl_ files are no longer used
Remove tpl_ and ctpl_ from cache->purge() because those prefixes are no longer used. PHPBB3-11688
Diffstat (limited to 'phpBB/phpbb/cache/driver/file.php')
-rw-r--r--phpBB/phpbb/cache/driver/file.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/phpbb/cache/driver/file.php b/phpBB/phpbb/cache/driver/file.php
index 7f8c646a11..19596f5205 100644
--- a/phpBB/phpbb/cache/driver/file.php
+++ b/phpBB/phpbb/cache/driver/file.php
@@ -228,9 +228,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
elseif (strpos($filename, 'container_') === 0 ||
strpos($filename, 'url_matcher') === 0 ||
strpos($filename, 'sql_') === 0 ||
- strpos($filename, 'data_') === 0 ||
- strpos($filename, 'ctpl_') === 0 ||
- strpos($filename, 'tpl_') === 0)
+ strpos($filename, 'data_') === 0)
{
$this->remove_file($fileInfo->getPathname());
}