From: Marcus Boerger Date: Tue, 16 Mar 2004 10:16:52 +0000 (+0000) Subject: This workaround is no longer needed X-Git-Tag: php-5.0.0RC1RC2~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cde333aca65214b5518f85c84fcbe0d7a493a508;p=php This workaround is no longer needed --- diff --git a/ext/spl/examples/directorytreeiterator.inc b/ext/spl/examples/directorytreeiterator.inc index 1e81caa01b..13253d9a52 100644 --- a/ext/spl/examples/directorytreeiterator.inc +++ b/ext/spl/examples/directorytreeiterator.inc @@ -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); }