2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +08:00

Revert "Fix the build."

This reverts commit 07f928e05e.
This commit is contained in:
Guo Xiang Tan 2018-02-26 13:08:10 +08:00
parent 1b5d955a34
commit 31242335a6

View file

@ -816,11 +816,11 @@ SQL
Notification.types[:invited_to_topic],
invited_by.username
)
true
else
invite_by_email(invited_by, username_or_email, group_ids, custom_message)
end
true
elsif user && topic_allowed_users.create!(user_id: user.id)
create_invite_notification!(
Notification.types[:invited_to_topic],