aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-07-30 12:32:14 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-07-30 12:32:14 +0300
commit212294382d2626012bb1caf0dde1392e59b1ca31 (patch)
tree4da3f384b9f4dea01fe97278e3fd5d5e9d6148a1 /phpBB/phpbb/cache/driver
parenta68aed51190e10535d364db056de97098cd56019 (diff)
downloadforums-212294382d2626012bb1caf0dde1392e59b1ca31.tar
forums-212294382d2626012bb1caf0dde1392e59b1ca31.tar.gz
forums-212294382d2626012bb1caf0dde1392e59b1ca31.tar.bz2
forums-212294382d2626012bb1caf0dde1392e59b1ca31.tar.xz
forums-212294382d2626012bb1caf0dde1392e59b1ca31.zip
[ticket/11688] Rename purge_dir to remove_dir
PHPBB3-11688
Diffstat (limited to 'phpBB/phpbb/cache/driver')
-rw-r--r--phpBB/phpbb/cache/driver/file.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/cache/driver/file.php b/phpBB/phpbb/cache/driver/file.php
index 19596f5205..66a74ea4eb 100644
--- a/phpBB/phpbb/cache/driver/file.php
+++ b/phpBB/phpbb/cache/driver/file.php
@@ -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
{