diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 18:06:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 18:06:07 +0300 |
commit | d96abbee0b394ac40eb67253214fb9c41a31bd41 (patch) | |
tree | 4887c6f08cc902c79e2a31d21a85ce7909cf88bc /lib/api/internal/base.rb | |
parent | 69849c280c5525d132ebaddb1200c390a42ecc06 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/internal/base.rb')
-rw-r--r-- | lib/api/internal/base.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/api/internal/base.rb b/lib/api/internal/base.rb index 1fe884eea13..00e9b56b932 100644 --- a/lib/api/internal/base.rb +++ b/lib/api/internal/base.rb @@ -148,22 +148,6 @@ module API } end - get "/broadcast_messages" do - if messages = BroadcastMessage.current - present messages, with: Entities::BroadcastMessage - else - [] - end - end - - get "/broadcast_message" do - if message = BroadcastMessage.current&.last - present message, with: Entities::BroadcastMessage - else - {} - end - end - # rubocop: disable CodeReuse/ActiveRecord post '/two_factor_recovery_codes' do status 200 |