Improved code layout.
This commit is contained in:
parent
6ddfd595d6
commit
2d67ac6b5e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue