There is no point in keeping a user's data when the account is cancelled. There is no point in assigning it to the anonymous user, either. So let's DELETE all the user's data when the account is cancelled, from both DB tables.

Comments

Boobaa created an issue. See original summary.

gopal6988’s picture

Version: » 8.x-1.x-dev
StatusFileSize
new645 bytes

Hi Boobaa

As per the description, I Implemented the hook_user_cancel() to remove that particular user information. Please use the attached patch to check. Thanks

tameeshb’s picture

Status: Active » Needs review

Please switch issue status to "Needs Review" after uploading patch to test.

astonvictor’s picture

Status: Needs review » Reviewed & tested by the community