summaryrefslogtreecommitdiff
path: root/program/include/session.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-09-08 12:03:22 +0000
committerthomascube <thomas@roundcube.net>2006-09-08 12:03:22 +0000
commit70d4b9a5dc39a7165e469aa3b4f24d49e9a20b9e (patch)
treef3cfab469bbbe08879b7de7f221b316762ee082a /program/include/session.inc
parente170b4b7f85767703293116c95d9e02020b1c99a (diff)
Fixed safe_mode issues
Diffstat (limited to 'program/include/session.inc')
-rw-r--r--program/include/session.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/program/include/session.inc b/program/include/session.inc
index dc7714777..6c4687e68 100644
--- a/program/include/session.inc
+++ b/program/include/session.inc
@@ -105,7 +105,6 @@ function sess_destroy($key)
WHERE sess_id=?",
$key);
- rcmail_clear_session_temp($key);
return TRUE;
}
@@ -137,12 +136,9 @@ function sess_gc($maxlifetime)
WHERE sess_id IN ('".join("','", $a_exp_sessions)."')");
}
- // remove session specific temp dirs
- foreach ($a_exp_sessions as $key)
- rcmail_clear_session_temp($key);
-
// also run message cache GC
rcmail_message_cache_gc();
+ rcmail_temp_gc();
return TRUE;
}