From 88344da11c0b57dc317bbef95f1ee318068eab8d Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 30 Apr 2015 19:22:28 +0200 Subject: [PATCH] Corrected with rubocop cop 'Style/EmptyElse'. --- app/models/ticket/escalation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ticket/escalation.rb b/app/models/ticket/escalation.rb index 524c615ca..cb971087c 100644 --- a/app/models/ticket/escalation.rb +++ b/app/models/ticket/escalation.rb @@ -262,7 +262,7 @@ returns if counted # puts "Diff count #{history_item['value_from']} -> #{history_item['value_to']} / #{last_state_change} -> #{history_item['created_at']}" total_time_without_pending = total_time_without_pending + diff - else + # else # puts "Diff not count #{history_item['value_from']} -> #{history_item['value_to']} / #{last_state_change} -> #{history_item['created_at']}" end total_time = total_time + diff