Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
dmacvicar committed Oct 21, 2017
1 parent ba5ef53 commit f9641ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/seeker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ def self.search(query, baseproject, project = nil, exclude_filter = nil, exclude
xpath = xpath_items.join(' and ')

bin = Seeker.find :binary, :match => xpath
#pat = Seeker.find :pattern, :match => xpath
raise "Backend not responding" if(bin.nil?)

result = new(query)
#result.add_patlist(pat)
result.add_binlist(bin)

# remove this hack when the backend can filter for project names
Expand Down

0 comments on commit f9641ac

Please sign in to comment.