This does not cause a functional problem, but hook_user_delete() takes one argument, the $account. It's implemented here with 3 arguments. The behavior is correct, but it results in a PHP Warning Warning: Missing argument 2 for role_delay_user_delete() in role_delay_user_delete() (line 122.

Comments

rfay created an issue. See original summary.

rfay’s picture

Status: Active » Needs review
StatusFileSize
new726 bytes

Here's the patch.

  • WorldFallz committed f256f6a on 7.x-1.x authored by rfay
    Issue #2577857 by rfay: Incorrect arguments in hook_user_delete
    
WorldFallz’s picture

Status: Needs review » Fixed

Committed 7.x-1.x.

It's not incorrect in 6.x.

Thanks randy!

Status: Fixed » Closed (fixed)

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