From eaa39477bd53130e68bfb26d63308cc9b6af9369 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 11 Apr 2008 09:34:19 -0400
Subject: [PATCH] #1483863: empty trash and expunge inbox on logout

---
 index.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/index.php b/index.php
index 0687763..e9c1cee 100644
--- a/index.php
+++ b/index.php
@@ -185,6 +185,7 @@
 else if (($_task=='logout' || $_action=='logout') && isset($_SESSION['user_id']))
 {
   $OUTPUT->show_message('loggedout');
+  rcmail_logout_actions();
   rcmail_kill_session();
 }
 

--
Gitblit v1.9.1