Improved code layout.

This commit is contained in:
Thorsten Eckel 2015-07-24 12:01:12 +02:00
parent 6ddfd595d6
commit 2d67ac6b5e

View file

@ -378,7 +378,7 @@ module Import::OTRS
thread_count = 8 thread_count = 8
threads = {} threads = {}
steps = 20 steps = 20
(1..thread_count).each {|thread| (1..thread_count).each { |thread|
threads[thread] = Thread.new { threads[thread] = Thread.new {
@ -561,7 +561,7 @@ module Import::OTRS
if user if user
ticket_new[:customer_id] = user.id ticket_new[:customer_id] = user.id
else else
ticket_new[:customer_id] = 1 ticket_new[:customer_id] = 1
end end
ticket_new.delete(:customer) ticket_new.delete(:customer)
else else