diff options
author | Robb Kidd <robb@thekidds.org> | 2012-06-20 13:18:29 -0400 |
---|---|---|
committer | Robb Kidd <robb@thekidds.org> | 2012-06-20 14:09:46 -0400 |
commit | eba61c111d175f298d7c6541f47a6dcdf3e55b7d (patch) | |
tree | 83c6e9b47448a82e2621c99b6f82ba5264395972 | |
parent | 88964132edaec721e256449579c032ca731781bc (diff) | |
download | gitlab-ce-eba61c111d175f298d7c6541f47a6dcdf3e55b7d.tar.gz |
Remove upvotes method from Issue.
Must have snuck in during one of the multiple rebases while observers were
being refactored.
-rw-r--r-- | app/models/issue.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 2b4b311da78..844d418b1e0 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -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 |