1 user.module _user_cancel_session_regenerate()

Finished batch processing callback for cancelling a user account.

See also

user_cancel()

File

core/modules/user/user.module, line 2002
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.
  backdrop_session_regenerate();
}