Remove unused constant

#697
This commit is contained in:
Artur Beljajev 2018-02-11 23:57:50 +02:00
parent 7a425ffaf6
commit 8d6cd06012
2 changed files with 0 additions and 4 deletions

View file

@ -335,7 +335,6 @@ class EppController < ApplicationController
# rubocop: disable Metrics/CyclomaticComplexity # rubocop: disable Metrics/CyclomaticComplexity
# rubocop: disable Metrics/PerceivedComplexity # rubocop: disable Metrics/PerceivedComplexity
def write_to_epp_log def write_to_epp_log
# return nil if EPP_LOG_ENABLED
request_command = params[:command] || params[:action] # error receives :command, other methods receive :action request_command = params[:command] || params[:action] # error receives :command, other methods receive :action
frame = params[:raw_frame] || params[:frame] frame = params[:raw_frame] || params[:frame]

View file

@ -73,6 +73,3 @@ if con.present? && con.table_exists?('settings')
Setting.save_default(:registry_swift, 'LHVBEE22') Setting.save_default(:registry_swift, 'LHVBEE22')
Setting.save_default(:registry_invoice_contact, 'Martti Õigus') Setting.save_default(:registry_invoice_contact, 'Martti Õigus')
end end
# dev only setting
EPP_LOG_ENABLED = true # !Rails.env.test?