DEV: trigger :username_changed when a user is renamed (#9301)

This commit is contained in:
Joffrey JAFFEUX
2020-03-30 18:02:34 +02:00
committed by GitHub
parent 6c2717eda0
commit 96e841a635
2 changed files with 10 additions and 1 deletions

View File

@@ -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