From f60f654f95aff4845915afc7a048a87b5432e9da Mon Sep 17 00:00:00 2001 From: Marcello Rocha Date: Fri, 6 Dec 2024 15:05:58 +0100 Subject: [PATCH] Remove logging statements :facepalm: --- lib/open_project/journal_formatter/custom_field/plain.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/open_project/journal_formatter/custom_field/plain.rb b/lib/open_project/journal_formatter/custom_field/plain.rb index e16264700700..a0ed17f05b27 100644 --- a/lib/open_project/journal_formatter/custom_field/plain.rb +++ b/lib/open_project/journal_formatter/custom_field/plain.rb @@ -40,9 +40,7 @@ def format_details(key, values) label = label_for_custom_field(custom_field) old_value, value = if custom_field - coisa = get_formatted_values(custom_field, values) - Rails.logger.error "[MARCELLOGGER] #{coisa.inspect}" - coisa + get_formatted_values(custom_field, values) else [values.first, values.last] end @@ -71,8 +69,6 @@ def get_modifier_function(custom_field) end def formatted_values(custom_field, values, modifier_fn) - Rails.logger.error "[MARCELLOGGER] #{values.inspect} #{modifier_fn.inspect} #{custom_field.inspect}" - values.map { |value| formatted_value(custom_field, value, modifier_fn) } end