From 3a2b270c9d1f531c2e2d1c422a4756afd639ef47 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 15 Jun 2009 07:01:36 +0000 Subject: - always call logout action as task (#1485919) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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(); -- cgit v1.2.3