From f22c2cefb4c7f8b1a995d5de6f706d49861c473c Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Tue, 12 May 2009 10:10:30 -0400
Subject: [PATCH] Really, really logout (fixes r2467).
---
program/include/rcmail.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 45b59ae..1443617 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -793,6 +793,8 @@
*/
public function kill_session()
{
+ foreach (array_keys($_SESSION) as $var)
+ rcube_sess_unset($var);
$_SESSION = array('language' => $this->user->language, 'auth_time' => time(), 'temp' => true);
rcmail::setcookie('sessauth', '-del-', time() - 60);
$this->user->reset();
--
Gitblit v1.9.1