diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-13 07:17:33 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-13 07:17:33 +0000 |
| commit | ce92386d2847df86870f4a87d5ca5c1f4925998d (patch) | |
| tree | 1162c257cb360eaa435e4baa395be296a9aec1b0 /roundcubemail/program/include/rcmail.php | |
| parent | 0b75eecb509765b633007525e1d5db99d6b0f248 (diff) | |
- speed up the whole session cleaning in kill_session()
git-svn-id: https://svn.roundcube.net/trunk@2472 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index 1443617c4..6ed095062 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -793,8 +793,7 @@ class rcmail */ public function kill_session() { - foreach (array_keys($_SESSION) as $var) - rcube_sess_unset($var); + rcube_sess_unset(); $_SESSION = array('language' => $this->user->language, 'auth_time' => time(), 'temp' => true); rcmail::setcookie('sessauth', '-del-', time() - 60); $this->user->reset(); |
