mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-14 12:06:49 +01:00
- speed up the whole session cleaning in kill_session()
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user