function _user_cancel_session_regenerate

_user_cancel_session_regenerate()

Implements callback_batch_finished().

Finished batch processing callback for cancelling a user account.

See also

user_cancel()

File

modules/user/user.module, line 2557
Enables the user registration and login system.

Code

function _user_cancel_session_regenerate() {
  // Regenerate the users session instead of calling session_destroy() as we
  // want to preserve any messages that might have been set.
  drupal_session_regenerate();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user.module/function/_user_cancel_session_regenerate/7.x