summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-11 13:34:19 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-11 13:34:19 +0000
commit8f7e0321de7c9e2ebc1ad581c0336d5c0fb6ab51 (patch)
tree25c57f10d3427f56907650c2ce51bee46a281464 /roundcubemail/index.php
parent10b3fc144e42871961f70d5ccb4fe32ad7abb6dd (diff)
#1483863: empty trash and expunge inbox on logout
git-svn-id: https://svn.roundcube.net/trunk@1282 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index 0687763da..e9c1cee98 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/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();
}