mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Set normal statuses for reserved domains #2746
This commit is contained in:
parent
3454faa959
commit
873070cb96
2 changed files with 26 additions and 24 deletions
|
@ -515,7 +515,8 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def manage_automatic_statuses
|
||||
statuses << DomainStatus::RESERVED if new_record? && in_reserved_list?
|
||||
# TODO: Remove this line if EIS decides not to create reserved status #2565
|
||||
# statuses << DomainStatus::RESERVED if new_record? && in_reserved_list?
|
||||
|
||||
# domain_statuses.create(value: DomainStatus::DELETE_CANDIDATE) if delete_candidateable?
|
||||
if statuses.empty? && valid?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue