Revert "FIX: always trigger the ':user_updated' event"

This reverts commit 519b70ea46.

https://meta.discourse.org/t/creating-a-topic-or-a-post-sends-the-user-updated-webhook/71643
This commit is contained in:
Guo Xiang Tan
2017-10-23 11:44:22 +08:00
parent e91a631978
commit 19f3b81161
3 changed files with 5 additions and 13 deletions
+1
View File
@@ -122,6 +122,7 @@ class UserUpdater
end
end
DiscourseEvent.trigger(:user_updated, user) if saved
saved
end