Story#109057934 - skip everywhere resaving legal document

This commit is contained in:
Vladimir Krylov 2015-11-27 12:50:23 +02:00
parent 3bc47e1d99
commit f83d5c8a93

View file

@ -843,6 +843,7 @@ class Epp::Domain < Domain
def parse_legal_document_from_frame(parsed_frame)
ld = parsed_frame.css('legalDocument').first
return nil unless ld
return nil if ld.text.starts_with?(ENV['legal_documents_dir']) # escape reloading
{
body: ld.text,