summaryrefslogtreecommitdiff
path: root/ext/session/mod_files.c
diff options
context:
space:
mode:
authorGuenter Knauf <guenter@php.net>2009-11-03 21:21:34 +0000
committerGuenter Knauf <guenter@php.net>2009-11-03 21:21:34 +0000
commit824692fab8279613730cd0a8aa38301781284a39 (patch)
treef0ff438a34fc9c550239a2a5a04f749dcc6989e8 /ext/session/mod_files.c
parent4a95aa39890835ffe626d7243d565d82977959d2 (diff)
downloadphp-git-824692fab8279613730cd0a8aa38301781284a39.tar.gz
removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
Diffstat (limited to 'ext/session/mod_files.c')
-rw-r--r--ext/session/mod_files.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 80ea2c2a15..6224b5442e 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -244,11 +244,7 @@ static int ps_files_cleanup_dir(const char *dirname, int maxlifetime TSRMLS_DC)
/* check whether its last access was more than maxlifet ago */
if (VCWD_STAT(buf, &sbuf) == 0 &&
-#ifdef NETWARE
- (now - sbuf.st_mtime.tv_sec) > maxlifetime) {
-#else
(now - sbuf.st_mtime) > maxlifetime) {
-#endif
VCWD_UNLINK(buf);
nrdels++;
}