From 2fc1e1c313e4d97f323e9d41cb5468f734bf0b57 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 24 Jul 2015 12:18:29 +0200 Subject: [PATCH] Removed unneded code. --- lib/import/otrs.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/import/otrs.rb b/lib/import/otrs.rb index 7186f8602..e07a5145a 100644 --- a/lib/import/otrs.rb +++ b/lib/import/otrs.rb @@ -467,10 +467,6 @@ module Import::OTRS while run count += steps log 'loading... diff ...' - offset = count - steps - if offset != 0 - offset = count - steps + 1 - end records = load( 'Ticket', steps, count - steps, 1 ) if !records || !records[0] log '... no more work.'