Skip to content

Commit

Permalink
What's this supposed to do anyway? (removed lines to fix 2012 history…
Browse files Browse the repository at this point in the history
… bug).
  • Loading branch information
gunn committed Jan 14, 2012
1 parent 096271b commit d486d08
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/rails_admin/history.rb
Expand Up @@ -29,10 +29,6 @@ def self.get_history_for_dates(mstart, mstop, ystart, ystop)
((mstart == 12 ? 1 : mstart + 1)..mstop).to_a, ystop])
end

results.each do |result|
result.record_count = result.record_count.to_i
end

add_blank_results(results, mstart, ystart)
end

Expand Down

0 comments on commit d486d08

Please sign in to comment.