summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-02-23 13:01:27 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-02-23 13:01:27 +0000
commita77b40d45e2f474a3d2401125b7b89379a7a7dd5 (patch)
treebf7ade080375a0cb20653f2f22d098544bc8472f /lib/api/entities.rb
parent8cc61d0b2a3507609665c3c5d3e8a475772c6b87 (diff)
parent931db7963ee9fa145d8fe2fb5eea209215227db7 (diff)
downloadgitlab-ce-a77b40d45e2f474a3d2401125b7b89379a7a7dd5.tar.gz
Merge branch 'api-notes-entity-fields' into 'master'
Remove deprecated `upvotes` and `downvotes` from the notes API Closes #28441 See merge request !9384
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 400ee7c92aa..85aa6932f81 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -339,9 +339,6 @@ module API
expose :created_at, :updated_at
expose :system?, as: :system
expose :noteable_id, :noteable_type
- # upvote? and downvote? are deprecated, always return false
- expose(:upvote?) { |note| false }
- expose(:downvote?) { |note| false }
end
class AwardEmoji < Grape::Entity