summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-15 07:01:36 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-15 07:01:36 +0000
commitc5082735465b386a58bdc27c93535969c9b3a27a (patch)
tree83b25bafd0bd9fa8f5bb781db64678be493a0058 /roundcubemail/index.php
parentde4f7224ce0ffd4ce4868ad96a5d4f48f63baaab (diff)
- always call logout action as task (#1485919)
git-svn-id: https://svn.roundcube.net/trunk@2645 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index 5d37a93e0..e8111b113 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/index.php
@@ -121,7 +121,7 @@ if ($RCMAIL->action=='login' && $RCMAIL->task=='mail') {
}
// end session
-else if (($RCMAIL->task=='logout' || $RCMAIL->action=='logout') && isset($_SESSION['user_id'])) {
+else if ($RCMAIL->task=='logout' && isset($_SESSION['user_id'])) {
$OUTPUT->show_message('loggedout');
$RCMAIL->logout_actions();
$RCMAIL->kill_session();