diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-23 18:55:56 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-23 18:55:56 +0100 |
commit | bd481e10aade489535f90d6360cc9dd4e97bfb5b (patch) | |
tree | d6c8843fbd3237aaf5b0224fe585f31a1a389249 /lib/api/entities.rb | |
parent | 30d5e9fa54e0beacfb9b28c307543ff359f17668 (diff) | |
download | gitlab-ce-api-remove-upvote-ownvote.tar.gz |
API: Remove deprecated upvote and downvote field from notes APIapi-remove-upvote-ownvote
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 9f59939e9ae..ff8abefddf3 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 |