mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Fix rubocop #2882
This commit is contained in:
parent
305b666e5d
commit
ad53278e24
1 changed files with 2 additions and 0 deletions
|
@ -550,6 +550,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
# rubocop:disable Metrics/AbcSize
|
||||
# rubocop:disable Metrics/MethodLength
|
||||
def set_force_delete
|
||||
self.statuses_backup = statuses
|
||||
statuses.delete(DomainStatus::CLIENT_DELETE_PROHIBITED)
|
||||
|
@ -586,6 +587,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
false
|
||||
end
|
||||
# rubocop: enable Metrics/MethodLength
|
||||
# rubocop:enable Metrics/AbcSize
|
||||
|
||||
def unset_force_delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue