]> granicus.if.org Git - php/commitdiff
no need to do TSRMLS_FETCH() twice
authorAntony Dovgal <tony2001@php.net>
Thu, 1 Jun 2006 14:06:23 +0000 (14:06 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 1 Jun 2006 14:06:23 +0000 (14:06 +0000)
main/safe_mode.c

index aece6172e869dba460212967e0349ff6294f26c9..3103b7ace463e27ba593e55230fdfef40160584c 100644 (file)
@@ -153,8 +153,6 @@ PHPAPI int php_checkuid_ex(const char *filename, char *fopen_mode, int mode, int
                } else if (PG(safe_mode_gid) && dgid == php_getgid()) {
                        return 1;
                } else {
-                       TSRMLS_FETCH();
-
                        if (SG(rfc1867_uploaded_files)) {
                                if (zend_hash_exists(SG(rfc1867_uploaded_files), (char *) filename, strlen(filename)+1)) {
                                        return 1;