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