mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix email notifications
This commit is contained in:
parent
2e79f65989
commit
14011f8828
9 changed files with 43 additions and 28 deletions
|
|
@ -122,7 +122,6 @@ class Event < ActiveRecord::Base
|
|||
program.conference.email_settings.accepted_body &&
|
||||
program.conference.email_settings.accepted_subject &&
|
||||
!options[:send_mail].blank?
|
||||
Rails.logger.debug 'Sending event acceptance mail'
|
||||
Mailbot.delay.acceptance_mail(self)
|
||||
end
|
||||
end
|
||||
|
|
@ -132,7 +131,6 @@ class Event < ActiveRecord::Base
|
|||
program.conference.email_settings.rejected_body &&
|
||||
program.conference.email_settings.rejected_subject &&
|
||||
!options[:send_mail].blank?
|
||||
Rails.logger.debug 'Sending rejected mail'
|
||||
Mailbot.delay.rejection_mail(self)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue