Hi,
Found undefined variable 'user' in user.api.php

Function : hook_user_cancel()
Lines : 45, 54

Solution :
Replacing $user with $account

CommentFileSizeAuthor
#2 2594377-1.patch1017 byteskrknth

Comments

krknth created an issue. See original summary.

krknth’s picture

StatusFileSize
new1017 bytes

Patch attached

krknth’s picture

nicrodgers’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, patch applies successfully on latest dev.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Nice spot. Committed 1de7ae2 and pushed to 8.0.x. Thanks!

  • alexpott committed 1de7ae2 on 8.0.x
    Issue #2594377 by krknth: Undefined variable 'user' in user.api.php...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.