diff options
author | alecpl <alec@alec.pl> | 2010-03-01 19:04:34 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-01 19:04:34 +0000 |
commit | 929a508d801d9434c8d98dccd0311e3a707303ba (patch) | |
tree | 3219bab9df6bb5d09aaf1cd5d6ba69e794678406 /index.php | |
parent | a72ad657241fd35ae7e0f2cbdec210caa9554695 (diff) |
- Improve performance by avoiding unnecessary updates to the session table (#1486325)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |