mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
comment out force delete check callback
This commit is contained in:
parent
43bd6f2907
commit
bc0a9d4f99
4 changed files with 89 additions and 92 deletions
|
@ -35,7 +35,7 @@ class ValidationEvent < ApplicationRecord
|
|||
scope :smtp, -> { where('event_data @> ?', { 'check_level': 'smtp' }.to_json) }
|
||||
scope :by_object, ->(object) { where(validation_eventable: object) }
|
||||
|
||||
after_create :check_for_force_delete
|
||||
# after_create :check_for_force_delete
|
||||
|
||||
def self.validated_ids_by(klass)
|
||||
recent.successful.where('validation_eventable_type = ?', klass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue