summaryrefslogtreecommitdiff
path: root/program/include/session.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/session.inc')
-rw-r--r--program/include/session.inc4
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;
}