Removed job includes

This commit is contained in:
Priit Tark 2015-08-10 14:49:35 +03:00
parent 99dc2b1483
commit ce63f40b4c
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ class DomainDeleteConfirmJob < Que::Job
def run(domain_id, action)
# it's recommended to keep transaction against job table as short as possible.
ActiveRecord::Base.transaction do
domain = Epp::Domain.find(domain_id).include(:registrar)
domain = Epp::Domain.find(domain_id)
case action
when RegistrantVerification::CONFIRMED
domain.poll_message!(:poll_pending_delete_confirmed_by_registrant)

View file

@ -2,7 +2,7 @@ class DomainUpdateConfirmJob < Que::Job
def run(domain_id, action)
# it's recommended to keep transaction against job table as short as possible.
ActiveRecord::Base.transaction do
domain = Epp::Domain.find(domain_id).include(:registrar)
domain = Epp::Domain.find(domain_id)
case action
when RegistrantVerification::CONFIRMED
domain.poll_message!(:poll_pending_update_confirmed_by_registrant)