From 9db8e2d524cc25b445f02848e4963e9cb62ed32d Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 1 Mar 2010 19:04:34 +0000 Subject: - Improve performance by avoiding unnecessary updates to the session table (#1486325) git-svn-id: https://svn.roundcube.net/trunk@3296 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/index.php') diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 8d3e10acd..fe7f6b5fa 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -96,8 +96,8 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') { !empty($auth['host']) && !empty($auth['user']) && $RCMAIL->login($auth['user'], $auth['pass'], $auth['host'])) { // create new session ID - rcube_sess_unset('temp'); - rcube_sess_regenerate_id(); + $RCMAIL->session->remove('temp'); + $RCMAIL->session->regenerate_id(); // send auth cookie if necessary $RCMAIL->authenticate_session(); -- cgit v1.2.3