Commit eba61c11 authored by Robb Kidd's avatar Robb Kidd

Remove upvotes method from Issue.

Must have snuck in during one of the multiple rebases while observers were
being refactored.
parent 88964132
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment