From 6204390af16bcf50f82da61a1aefc2ad0c0adf94 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 01 May 2006 10:47:27 -0400
Subject: [PATCH] Applied patch for requesting receipts by Salvatore Ansani

---
 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 f10a2b3..dc362f8 100644
--- a/program/include/session.inc
+++ b/program/include/session.inc
@@ -106,7 +106,6 @@
               $key);
 
   rcmail_clear_session_temp($key);
-
   return TRUE;
   }
 
@@ -142,6 +141,9 @@
   foreach ($a_exp_sessions as $key)
     rcmail_clear_session_temp($key);
 
+  // also run message cache GC
+  rcmail_message_cache_gc();
+
   return TRUE;
   }
 

--
Gitblit v1.9.1