Merge pull request #1106 from internetee/revert-epp-domain-info-behaviour

Do not handle not registered domain in EPP domain:info
This commit is contained in:
Timo Võhmar 2019-03-20 15:19:44 +02:00 committed by GitHub
commit 6da40d9bfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 41 additions and 183 deletions

View file

@ -57,6 +57,10 @@ module DNS
Domain.find_by_idn(name)
end
def not_registered?
!registered?
end
def blocked?
BlockedDomain.where(name: name).any?
end