From 66396b702958d47e6c79d1bcf74a71f1da34c3af Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 19 Aug 2013 10:23:05 +0200 Subject: [PATCH] Removed not needed lines. --- app/models/ticket/search.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/models/ticket/search.rb b/app/models/ticket/search.rb index c51158d70..810a23ab7 100644 --- a/app/models/ticket/search.rb +++ b/app/models/ticket/search.rb @@ -50,13 +50,11 @@ returns # build result list tickets = [] - users = {} tickets_all.each do |ticket| - ticket_tmp = Ticket.lookup( :id => ticket.id ) - tickets.push ticket_tmp + tickets.push Ticket.lookup( :id => ticket.id ) end - return tickets + tickets end end \ No newline at end of file