Merge branch '111864739-history_legal_doc' into staging

This commit is contained in:
Vladimir Krylov 2016-03-18 14:43:54 +02:00
commit 44077a1788
2 changed files with 0 additions and 2 deletions

View file

@ -242,7 +242,6 @@ class Epp::Contact < Contact
document_type: legal_document_data[:type], document_type: legal_document_data[:type],
body: legal_document_data[:body] body: legal_document_data[:body]
) )
raise ActiveRecord::Rollback if doc && doc.id.nil?
self.legal_documents = [doc] self.legal_documents = [doc]
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted? frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?

View file

@ -210,7 +210,6 @@ class Epp::Domain < Domain
document_type: legal_document_data[:type], document_type: legal_document_data[:type],
body: legal_document_data[:body] body: legal_document_data[:body]
) )
raise ActiveRecord::Rollback if doc && doc.id.nil?
self.legal_documents = [doc] self.legal_documents = [doc]
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted? frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?