Merge pull request #76 from internetee/111237776-updateProhibited-renew

111237776 update prohibited renew
This commit is contained in:
Timo Võhmar 2016-02-02 12:34:51 +02:00
commit 5992155b21
2 changed files with 3 additions and 3 deletions

View file

@ -408,8 +408,7 @@ class Domain < ActiveRecord::Base
end
end
return false if statuses.include_any?(DomainStatus::DELETE_CANDIDATE, DomainStatus::SERVER_RENEW_PROHIBITED,
DomainStatus::CLIENT_RENEW_PROHIBITED, DomainStatus::PENDING_RENEW,
return false if statuses.include_any?(DomainStatus::DELETE_CANDIDATE, DomainStatus::PENDING_RENEW,
DomainStatus::PENDING_TRANSFER, DomainStatus::PENDING_DELETE,
DomainStatus::PENDING_UPDATE, DomainStatus::PENDING_DELETE_CONFIRMATION)
true