mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
No pending update when force update #2623
This commit is contained in:
parent
b0d4aff32e
commit
9067d0048c
1 changed files with 2 additions and 2 deletions
|
@ -574,7 +574,7 @@ class Domain < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def pending_update?
|
def pending_update?
|
||||||
statuses.include?(DomainStatus::PENDING_UPDATE)
|
statuses.include?(DomainStatus::PENDING_UPDATE) && !statuses.include?(DomainStatus::FORCE_UPDATE)
|
||||||
end
|
end
|
||||||
|
|
||||||
# public api
|
# public api
|
||||||
|
@ -609,7 +609,7 @@ class Domain < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def pending_delete?
|
def pending_delete?
|
||||||
statuses.include?(DomainStatus::PENDING_DELETE)
|
statuses.include?(DomainStatus::PENDING_DELETE) && !statuses.include?(DomainStatus::FORCE_DELETE)
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: Review the list and disallow epp calls
|
# TODO: Review the list and disallow epp calls
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue