remove unused dossier_field service

This commit is contained in:
simon lehericey 2020-10-30 15:06:51 +01:00 committed by Paul Chavard
parent 0399bb7dcf
commit 55998b1284

View file

@ -309,10 +309,6 @@ class ProcedurePresentation < ApplicationRecord
.join('.') .join('.')
end end
def dossier_field_service
@dossier_field_service ||= DossierFieldService.new
end
def assert_supported_column(table, column) def assert_supported_column(table, column)
if table == 'followers_instructeurs' && column != 'email' if table == 'followers_instructeurs' && column != 'email'
raise ArgumentError, 'Table `followers_instructeurs` only supports the `email` column.' raise ArgumentError, 'Table `followers_instructeurs` only supports the `email` column.'