]> granicus.if.org Git - php/commitdiff
This workaround is no longer needed
authorMarcus Boerger <helly@php.net>
Tue, 16 Mar 2004 10:16:52 +0000 (10:16 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 16 Mar 2004 10:16:52 +0000 (10:16 +0000)
ext/spl/examples/directorytreeiterator.inc

index 1e81caa01bdd8e246d4aa1a958f68f5e0d977c72..13253d9a5284bed7f3903d3807c94860da1e7b72 100644 (file)
@@ -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);
        }