mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Removed job includes
This commit is contained in:
parent
99dc2b1483
commit
ce63f40b4c
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue