Removed commented code

This commit is contained in:
Godwin 2016-09-21 22:33:17 -07:00
parent 0770fd28e8
commit 1d8cbce3e1
2 changed files with 0 additions and 26 deletions

View File

@ -199,15 +199,6 @@ class ConferencesController < ApplicationController
@registration.steps_completed << form_step @registration.steps_completed << form_step
@registration.steps_completed.uniq! @registration.steps_completed.uniq!
end end
# workshops is the last step
# if @register_template == :workshops
# UserMailer.send_mail :registration_confirmation do
# {
# :args => @registration
# }
# end
# end
end end
@registration.save! @registration.save!

View File

@ -55,21 +55,4 @@ class ConferenceRegistration < ActiveRecord::Base
end end
end end
end end
# before_update do | registration |
# old_status = status
# new_status = registration.status
# puts " ===== #{old_status.to_s} : #{new_status.to_s} ===== "
# if old_status.present? && old_status != new_status
# if (conference.registration_status == :pre && new_status == :preregistered) ||
# (conference.registration_status == :open && new_status == :registered)
# end
# UserMailer.send_mail :registration_confirmation do
# {
# :args => registration
# }
# end
# end
# end
end end