Fix confirming of proposals
This commit is contained in:
parent
39ca877e5e
commit
178e584730
3 changed files with 4 additions and 4 deletions
|
|
@ -98,7 +98,7 @@ class Event < ActiveRecord::Base
|
|||
self.class.state_machine.events_for(self.current_state).include?(transition)
|
||||
end
|
||||
|
||||
def process_confirmation
|
||||
def process_confirmation(options)
|
||||
if self.conference.email_settings.send_on_confirmed_without_registration?
|
||||
if self.conference.registrations.where(:person_id => self.submitter.id).first.nil?
|
||||
Mailbot.confirm_reminder_mail(self).deliver
|
||||
|
|
@ -171,4 +171,4 @@ class Event < ActiveRecord::Base
|
|||
self.guid = guid
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue