function _user_cancel_session_regenerate

7.x user.module _user_cancel_session_regenerate()

Finished batch processing callback for cancelling a user account.

See also

user_cancel()

1 string reference to '_user_cancel_session_regenerate'
user_cancel in drupal-7.x/modules/user/user.module
Cancel a user account.

File

drupal-7.x/modules/user/user.module, line 2497
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();
}