mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 03:26:25 +08:00

This bug was causing double events to be fired as :user_badge_granted is already called when a `user_badge` is created. More over the signature of the block in the UserBadge code is `badge_id, user_id` not `badge, user_id`.