mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11700] Fix tests after merging new develop code
PHPBB3-11700
This commit is contained in:
6
phpBB/phpbb/cache/driver/file.php
vendored
6
phpBB/phpbb/cache/driver/file.php
vendored
@@ -207,9 +207,9 @@ class file extends \phpbb\cache\driver\base
|
||||
function purge()
|
||||
{
|
||||
// Purge all phpbb cache files
|
||||
try
|
||||
try
|
||||
{
|
||||
$iterator = new DirectoryIterator($this->cache_dir);
|
||||
$iterator = new \DirectoryIterator($this->cache_dir);
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
@@ -258,7 +258,7 @@ class file extends \phpbb\cache\driver\base
|
||||
*/
|
||||
protected function remove_dir($dir)
|
||||
{
|
||||
try
|
||||
try
|
||||
{
|
||||
$iterator = new DirectoryIterator($dir);
|
||||
}
|
||||
|
Reference in New Issue
Block a user