mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Merge: resolve merge conflict
This commit is contained in:
parent
45588dc72a
commit
853e7b3a1c
2 changed files with 1 additions and 32 deletions
|
@ -379,7 +379,7 @@ class Domain < ActiveRecord::Base
|
||||||
return false if statuses.include_any?(DomainStatus::DELETE_CANDIDATE, DomainStatus::SERVER_RENEW_PROHIBITED,
|
return false if statuses.include_any?(DomainStatus::DELETE_CANDIDATE, DomainStatus::SERVER_RENEW_PROHIBITED,
|
||||||
DomainStatus::CLIENT_RENEW_PROHIBITED, DomainStatus::PENDING_RENEW,
|
DomainStatus::CLIENT_RENEW_PROHIBITED, DomainStatus::PENDING_RENEW,
|
||||||
DomainStatus::PENDING_TRANSFER, DomainStatus::PENDING_DELETE,
|
DomainStatus::PENDING_TRANSFER, DomainStatus::PENDING_DELETE,
|
||||||
DomainStatus::PENDING_UPDATE, 'pendingDeleteConfirmation')
|
DomainStatus::PENDING_UPDATE, DomainStatus::PENDING_DELETE_CONFIRMATION)
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -122,44 +122,13 @@ class DomainStatus < ActiveRecord::Base
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
def admin_statuses
|
def admin_statuses
|
||||||
<<<<<<< HEAD
|
|
||||||
[
|
|
||||||
SERVER_HOLD,
|
|
||||||
# sync with admin_statuses_map
|
|
||||||
SERVER_MANUAL_INZONE,
|
|
||||||
SERVER_RENEW_PROHIBITED,
|
|
||||||
SERVER_TRANSFER_PROHIBITED,
|
|
||||||
SERVER_REGISTRANT_CHANGE_PROHIBITED,
|
|
||||||
SERVER_ADMIN_CHANGE_PROHIBITED,
|
|
||||||
SERVER_TECH_CHANGE_PROHIBITED,
|
|
||||||
SERVER_UPDATE_PROHIBITED,
|
|
||||||
SERVER_DELETE_PROHIBITED
|
|
||||||
]
|
|
||||||
=======
|
|
||||||
# [
|
|
||||||
# SERVER_HOLD,
|
|
||||||
# # sync with admin_statuses_map
|
|
||||||
# # SERVER_MANUAL_INZONE,
|
|
||||||
# # SERVER_RENEW_PROHIBITED,
|
|
||||||
# # SERVER_TRANSFER_PROHIBITED,
|
|
||||||
# # SERVER_REGISTRANT_CHANGE_PROHIBITED,
|
|
||||||
# # SERVER_ADMIN_CHANGE_PROHIBITED,
|
|
||||||
# # SERVER_TECH_CHANGE_PROHIBITED,
|
|
||||||
# SERVER_DELETE_PROHIBITED,
|
|
||||||
# SERVER_UPDATE_PROHIBITED
|
|
||||||
# ]
|
|
||||||
admin_statuses_map.map(&:second)
|
admin_statuses_map.map(&:second)
|
||||||
>>>>>>> staging
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def admin_statuses_map
|
def admin_statuses_map
|
||||||
[
|
[
|
||||||
['Hold', SERVER_HOLD],
|
['Hold', SERVER_HOLD],
|
||||||
<<<<<<< HEAD
|
|
||||||
# sync with admin_statuses
|
|
||||||
=======
|
|
||||||
>>>>>>> staging
|
|
||||||
['ManualInzone', SERVER_MANUAL_INZONE],
|
['ManualInzone', SERVER_MANUAL_INZONE],
|
||||||
# [''],
|
# [''],
|
||||||
['RenewProhibited', SERVER_RENEW_PROHIBITED],
|
['RenewProhibited', SERVER_RENEW_PROHIBITED],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue