$account is not being passed for hook_user calls of type 'category'. The only instances in core that uses the category type are in user.module and profile.module and neither rely on $account, so this should be safe. This bug currently affects the cvs module.

Thanks,
-K

CommentFileSizeAuthor
user_categories.patch.txt1.26 KBZen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

killes@www.drop.org’s picture

Version: 4.7.0-rc4 » 4.7.0

moving

drumm’s picture

Status: Needs review » Fixed

Committed to HEAD.

killes@www.drop.org’s picture

also to 4.7

Anonymous’s picture

Status: Fixed » Closed (fixed)