summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-11 13:34:19 +0000
committeralecpl <alec@alec.pl>2008-04-11 13:34:19 +0000
commiteaa39477bd53130e68bfb26d63308cc9b6af9369 (patch)
tree84e278a4b3e813693dc6b9a92232434da0daca40 /index.php
parentcb6b51ee7647924403a81cf5b9443936f7c5a901 (diff)
#1483863: empty trash and expunge inbox on logout
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 0687763da..e9c1cee98 100644
--- a/index.php
+++ b/index.php
@@ -185,6 +185,7 @@ if ($_action=='login' && $_task=='mail')
else if (($_task=='logout' || $_action=='logout') && isset($_SESSION['user_id']))
{
$OUTPUT->show_message('loggedout');
+ rcmail_logout_actions();
rcmail_kill_session();
}