diff --git a/modules/user/user.module b/modules/user/user.module index 044ad46..a51e735 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2417,12 +2417,6 @@ function _user_cancel($edit, $account, $method) { break; } - // After cancelling account, ensure that user is logged out. - if ($account->uid == $user->uid) { - // Destroy the current session, and reset $user to the anonymous user. - session_destroy(); - } - // Clear the cache for anonymous users. cache_clear_all(); }