Remove upvotes method from Issue.

Must have snuck in during one of the multiple rebases while observers were
being refactored.
This commit is contained in:
Robb Kidd 2012-06-20 13:18:29 -04:00
parent 88964132ed
commit eba61c111d

View file

@ -56,11 +56,6 @@ class Issue < ActiveRecord::Base
today? && created_at == updated_at
end
# Return the number of +1 comments (upvotes)
def upvotes
notes.select(&:upvote?).size
end
def is_being_reassigned?
assignee_id_changed?
end