diff options
author | thomascube <thomas@roundcube.net> | 2006-02-05 15:38:51 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-02-05 15:38:51 +0000 |
commit | cc95700b58f31f04470db8271a09d6e52ba9a63d (patch) | |
tree | 88db35bcbdeaab851eee0d0570ab7cc8c077be23 /program/include/session.inc | |
parent | fd80c1eed83f1792176ad0cf13cdc06f71e49da6 (diff) |
Added message cache garbage collector
Diffstat (limited to 'program/include/session.inc')
-rw-r--r-- | program/include/session.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/session.inc b/program/include/session.inc index f10a2b37e..dc362f8f9 100644 --- a/program/include/session.inc +++ b/program/include/session.inc @@ -106,7 +106,6 @@ function sess_destroy($key) $key); rcmail_clear_session_temp($key); - return TRUE; } @@ -142,6 +141,9 @@ function sess_gc($maxlifetime) foreach ($a_exp_sessions as $key) rcmail_clear_session_temp($key); + // also run message cache GC + rcmail_message_cache_gc(); + return TRUE; } |