From 94078fe71eaae68c4c21ce9e2c6b129b75631510 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Fri, 5 Jun 2020 10:33:00 +0300 Subject: [PATCH] Remove dead code --- app/models/epp/contact.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/models/epp/contact.rb b/app/models/epp/contact.rb index 398c5715f..d14bf1e1b 100644 --- a/app/models/epp/contact.rb +++ b/app/models/epp/contact.rb @@ -57,17 +57,6 @@ class Epp::Contact < Contact ) end - def legal_document_attrs(legal_frame) - return [] if legal_frame.blank? - return [] if legal_frame.try('text').blank? - return [] if legal_frame.attr('type').blank? - - [{ - body: legal_frame.text, - document_type: legal_frame.attr('type') - }] - end - def check_availability(codes) codes = [codes] if codes.is_a?(String)