From: Marcus Boerger Date: Mon, 4 Feb 2008 18:35:08 +0000 (+0000) Subject: - Setting flags once is enough X-Git-Tag: RELEASE_2_0_0a1~620 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=223764b66d92a454a9bf24eb9374742bbb42525e;p=php - Setting flags once is enough --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 26a467d5e5..b6c4a24e7e 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -619,8 +619,6 @@ void spl_filesystem_object_construct(INTERNAL_FUNCTION_PARAMETERS, int ctor_flag } intern = (spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC); - - intern->flags = flags; if ((ctor_flags & DIT_CTOR_GLOB) && ( (path_type == IS_STRING && strstr(path.s, "glob://") != path.s) || (path_type == IS_UNICODE && u_strstr(path.u, u_glob) != path.u)