Commit eba61c111d175f298d7c6541f47a6dcdf3e55b7d

Authored by Robb Kidd
1 parent 88964132

Remove upvotes method from Issue.

Must have snuck in during one of the multiple rebases while observers were
being refactored.
Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
app/models/issue.rb
... ... @@ -56,11 +56,6 @@ class Issue < ActiveRecord::Base
56 56 today? && created_at == updated_at
57 57 end
58 58  
59   - # Return the number of +1 comments (upvotes)
60   - def upvotes
61   - notes.select(&:upvote?).size
62   - end
63   -
64 59 def is_being_reassigned?
65 60 assignee_id_changed?
66 61 end
... ...