mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
This workaround is no longer needed
This commit is contained in:
parent
09e76476ef
commit
cde333aca6
1 changed files with 1 additions and 2 deletions
|
@ -2,9 +2,8 @@
|
|||
|
||||
class DirectoryTreeIterator extends RecursiveIteratorIterator
|
||||
{
|
||||
function __construct($path, $mode)
|
||||
function __construct($path)
|
||||
{
|
||||
// ignore $mode
|
||||
parent::__construct(new CachingRecursiveIterator(new RecursiveDirectoryIterator($path), CIT_CALL_TOSTRING|CIT_CATCH_GET_CHILD), 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue