diff options
author | Sascha Schumann <sas@php.net> | 2002-09-23 14:59:24 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-09-23 14:59:24 +0000 |
commit | 7915f83342155e4d1fb726625c5751b1f1c0203d (patch) | |
tree | b0d24c4707650847304b824ca7dfeb9f028dce7c /ext/standard/filestat.c | |
parent | ad4afdf827f01be904450c77e144bf6ba910fbc0 (diff) | |
download | php-git-7915f83342155e4d1fb726625c5751b1f1c0203d.tar.gz |
(PHP touch) Remove an extraneous time() call.
Yasuo added this line in rev 1.90 for no apparent reason.
Diffstat (limited to 'ext/standard/filestat.c')
-rw-r--r-- | ext/standard/filestat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index e184a30efd..f2ab01d8de 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -490,7 +490,6 @@ PHP_FUNCTION(touch) newtime->modtime = newtime->actime = time(NULL); } else if (ac == 2 && zend_get_parameters_ex(2, &filename, &filetime) != FAILURE) { convert_to_long_ex(filetime); - newtime->actime = time(NULL); newtime->modtime = newtime->actime = Z_LVAL_PP(filetime); } else if (ac == 3 && zend_get_parameters_ex(3, &filename, &filetime, &fileatime) != FAILURE) { convert_to_long_ex(fileatime); |