fix Hound CI violations
This commit is contained in:
parent
0db2f3bb06
commit
37430152c6
1 changed files with 6 additions and 4 deletions
|
|
@ -132,14 +132,16 @@ class Event < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def process_acceptance(options)
|
def process_acceptance(options)
|
||||||
if self.conference.email_settings.send_on_accepted && options[:send_mail].blank?
|
if self.conference.email_settings.send_on_accepted &&
|
||||||
Rails.logger.debug 'Sending event acceptance mail'
|
options[:send_mail].blank?
|
||||||
Mailbot.acceptance_mail(self).deliver
|
Rails.logger.debug 'Sending event acceptance mail'
|
||||||
|
Mailbot.acceptance_mail(self).deliver
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def process_rejection(options)
|
def process_rejection(options)
|
||||||
if self.conference.email_settings.send_on_rejected && options[:send_mail].blank?
|
if self.conference.email_settings.send_on_rejected &&
|
||||||
|
options[:send_mail].blank?
|
||||||
Rails.logger.debug 'Sending rejected mail'
|
Rails.logger.debug 'Sending rejected mail'
|
||||||
Mailbot.rejection_mail(self).deliver
|
Mailbot.rejection_mail(self).deliver
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue