suite
This commit is contained in:
parent
4af6425f42
commit
d347383de2
@ -67,7 +67,14 @@ class ForumTopic < ActiveRecord::Base
|
|||||||
user_to_notify.uniq!
|
user_to_notify.uniq!
|
||||||
|
|
||||||
user_to_notify.each do |forum_user|
|
user_to_notify.each do |forum_user|
|
||||||
ForumMails.topic_notification(topic, forum_user).deliver
|
begin
|
||||||
|
if forum_user and forum_user.email
|
||||||
|
ForumMails.topic_notification(topic, forum_user).deliver
|
||||||
|
end
|
||||||
|
rescue
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user