Skip to content

Commit a68aed5

Browse files
committed
[ticket/11688] tpl_ files are no longer used
Remove tpl_ and ctpl_ from cache->purge() because those prefixes are no longer used. PHPBB3-11688
1 parent 81e0859 commit a68aed5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

phpBB/phpbb/cache/driver/file.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,7 @@ function purge()
228228
elseif (strpos($filename, 'container_') === 0 ||
229229
strpos($filename, 'url_matcher') === 0 ||
230230
strpos($filename, 'sql_') === 0 ||
231-
strpos($filename, 'data_') === 0 ||
232-
strpos($filename, 'ctpl_') === 0 ||
233-
strpos($filename, 'tpl_') === 0)
231+
strpos($filename, 'data_') === 0)
234232
{
235233
$this->remove_file($fileInfo->getPathname());
236234
}

0 commit comments

Comments
 (0)