From ef093f68063320a0c858068a4b4bbc96cc2674ca Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 7 May 2015 16:22:08 +0200 Subject: [PATCH] Corrected with rubocop cop 'Style/SpaceBeforeComment'. --- app/models/channel/twitter2.rb | 2 +- app/models/ticket/escalation.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/channel/twitter2.rb b/app/models/channel/twitter2.rb index cb71db0d1..7f0856a76 100644 --- a/app/models/channel/twitter2.rb +++ b/app/models/channel/twitter2.rb @@ -171,7 +171,7 @@ class Channel::TWITTER2 provider: 'twitter' ) else - Rails.logger.info 'user exists'#, user.inspect + Rails.logger.info 'user exists' end # set current user diff --git a/app/models/ticket/escalation.rb b/app/models/ticket/escalation.rb index 87d63dc64..66508ad2a 100644 --- a/app/models/ticket/escalation.rb +++ b/app/models/ticket/escalation.rb @@ -90,7 +90,7 @@ returns # set ticket escalation self.escalation_time = calculation_higher_time( escalation_time, first_response_escal_date, first_response ) end - if first_response# && !self.first_response_in_min + if first_response # get response time in min between created and first response self.first_response_in_min = escalation_suspend( created_at, first_response, 'real', sla_selected )