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 /plugins/new_user_dialog | |
parent | a72ad657241fd35ae7e0f2cbdec210caa9554695 (diff) |
- Improve performance by avoiding unnecessary updates to the session table (#1486325)
Diffstat (limited to 'plugins/new_user_dialog')
-rw-r--r-- | plugins/new_user_dialog/new_user_dialog.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/new_user_dialog/new_user_dialog.php b/plugins/new_user_dialog/new_user_dialog.php index 11154ce29..006cb2711 100644 --- a/plugins/new_user_dialog/new_user_dialog.php +++ b/plugins/new_user_dialog/new_user_dialog.php @@ -98,7 +98,7 @@ class new_user_dialog extends rcube_plugin // save data if not empty if (!empty($save_data['name']) && !empty($save_data['email'])) { $rcmail->user->update_identity($identity['identity_id'], $save_data); - rcube_sess_unset('plugin.newuserdialog'); + $rcmail->session->remove('plugin.newuserdialog'); } $rcmail->output->redirect(''); |