Remove unused "restful_whois_url" config key

This commit is contained in:
Artur Beljajev 2017-03-23 03:46:38 +02:00
parent 8216cfaf87
commit a055689469
2 changed files with 15 additions and 25 deletions

View file

@ -1,10 +1,6 @@
= render 'shared/title', name: t(:whois) = render 'shared/title', name: t(:whois)
- if ENV['restful_whois_url'].blank? .row
%p
Registrant configuration issue: missing restful_whois_url
- else
.row
.col-md-12{style: 'margin-bottom: -15px;'} .col-md-12{style: 'margin-bottom: -15px;'}
= form_tag registrant_whois_path, class: 'form-horizontal', method: :get do = form_tag registrant_whois_path, class: 'form-horizontal', method: :get do
.col-md-11 .col-md-11
@ -16,6 +12,6 @@
   
%span.glyphicon.glyphicon-search %span.glyphicon.glyphicon-search
   
%hr %hr
- if @domain - if @domain
%pre= @domain.body %pre= @domain.body

View file

@ -82,12 +82,6 @@ key_path: '/home/registry/registry/shared/ca/private/webclient.key.pem'
epp_hostname: 'registry.gitlab.eu' epp_hostname: 'registry.gitlab.eu'
repp_url: 'https://repp.gitlab.eu/repp/v1/' repp_url: 'https://repp.gitlab.eu/repp/v1/'
#
# REGISTRANT configuration
#
restful_whois_url: 'https://restful-whois.example.com'
# #
# Estonian Business Registry # Estonian Business Registry
# #