OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8896413
)
Remove upvotes method from Issue.
author
Robb Kidd
<robb@thekidds.org>
Wed, 20 Jun 2012 17:18:29 +0000
(13:18 -0400)
committer
Robb Kidd
<robb@thekidds.org>
Wed, 20 Jun 2012 18:09:46 +0000
(14:09 -0400)
Must have snuck in during one of the multiple rebases while observers were
being refactored.
app/models/issue.rb
patch
|
blob
|
history
diff --git
a/app/models/issue.rb
b/app/models/issue.rb
index
2b4b311
..
844d418
100644
(file)
--- 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