From 9fab0a3000a9436eacaee392bfef4604352ada40 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 1 Feb 2019 13:25:21 +0200 Subject: [PATCH] Remove useless comments --- .../epp/domains/info/registered_domain.xml.builder | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app/views/epp/domains/info/registered_domain.xml.builder b/app/views/epp/domains/info/registered_domain.xml.builder index 850334955..3272b7ea4 100644 --- a/app/views/epp/domains/info/registered_domain.xml.builder +++ b/app/views/epp/domains/info/registered_domain.xml.builder @@ -34,8 +34,6 @@ xml.epp_head do end end - ## TODO Find out what this domain:host is all about - xml.tag!('domain:clID', @domain.registrar.code) xml.tag!('domain:crID', @domain.cr_id) @@ -43,16 +41,13 @@ xml.epp_head do if @domain.updated_at > @domain.created_at upID = @domain.updator.try(:registrar) - upID = upID.code if upID.present? # Did updator return a kind of User that has a registrar? - xml.tag!('domain:upID', upID) if upID.present? # optional upID + upID = upID.code if upID.present? + xml.tag!('domain:upID', upID) if upID.present? xml.tag!('domain:upDate', @domain.updated_at.try(:iso8601)) end xml.tag!('domain:exDate', @domain.valid_to.iso8601) - # TODO Make domain transferrable - #xml.tag!('domain:trDate', @domain.transferred_at) if @domain.transferred_at - if can? :view_password, @domain, @password xml.tag!('domain:authInfo') do xml.tag!('domain:pw', @domain.transfer_code) @@ -65,7 +60,6 @@ xml.epp_head do ds_data = Setting.ds_data_allowed ? @domain.dnskeys.find_all { |key| key.ds_digest.present? } : [] key_data = Setting.key_data_allowed ? @domain.dnskeys.find_all { |key| key.public_key.present? } : [] - # is there any reason to include without xml.extension do def tag_key_data(xml, key) xml.tag!('secDNS:keyData') do