mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11688] Rename purge_dir to remove_dir
PHPBB3-11688
This commit is contained in:
parent
a68aed5119
commit
212294382d
1 changed files with 3 additions and 3 deletions
6
phpBB/phpbb/cache/driver/file.php
vendored
6
phpBB/phpbb/cache/driver/file.php
vendored
|
@ -223,7 +223,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
|
|||
$filename = $fileInfo->getFilename();
|
||||
if ($fileInfo->isDir())
|
||||
{
|
||||
$this->purge_dir($fileInfo->getPathname());
|
||||
$this->remove_dir($fileInfo->getPathname());
|
||||
}
|
||||
elseif (strpos($filename, 'container_') === 0 ||
|
||||
strpos($filename, 'url_matcher') === 0 ||
|
||||
|
@ -250,7 +250,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
|
|||
/**
|
||||
* Remove directory
|
||||
*/
|
||||
protected function purge_dir($dir)
|
||||
protected function remove_dir($dir)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -269,7 +269,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
|
|||
}
|
||||
if ($fileInfo->isDir())
|
||||
{
|
||||
$this->purge_dir($fileInfo->getPathname());
|
||||
$this->remove_dir($fileInfo->getPathname());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue