From cde333aca65214b5518f85c84fcbe0d7a493a508 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 16 Mar 2004 10:16:52 +0000 Subject: [PATCH] This workaround is no longer needed --- ext/spl/examples/directorytreeiterator.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } -- 2.40.0