summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-15 07:01:36 +0000
committeralecpl <alec@alec.pl>2009-06-15 07:01:36 +0000
commit3a2b270c9d1f531c2e2d1c422a4756afd639ef47 (patch)
tree5a591df3eb514a68e2c2b25e75ab82aa4ba32575 /index.php
parent9d147c8d12d45b58afabb1b996ff974669afd98c (diff)
- always call logout action as task (#1485919)
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 5d37a93e0..e8111b113 100644
--- a/index.php
+++ b/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();