mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: trigger :username_changed when a user is renamed (#9301)
This commit is contained in:
@@ -34,6 +34,8 @@ module Jobs
|
||||
update_revisions
|
||||
update_notifications
|
||||
update_post_custom_fields
|
||||
|
||||
DiscourseEvent.trigger(:username_changed, @old_username, @new_username)
|
||||
end
|
||||
|
||||
def update_posts
|
||||
|
||||
Reference in New Issue
Block a user