diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-21 02:50:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-21 02:50:22 +0300 |
commit | 9dc93a4519d9d5d7be48ff274127136236a3adb3 (patch) | |
tree | 70467ae3692a0e35e5ea56bcb803eb512a10bedb /lib/spam | |
parent | 4b0f34b6d759d6299322b3a54453e930c6121ff0 (diff) |
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43
Diffstat (limited to 'lib/spam')
-rw-r--r-- | lib/spam/concerns/has_spam_action_response_fields.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/spam/concerns/has_spam_action_response_fields.rb b/lib/spam/concerns/has_spam_action_response_fields.rb index d49f5cd6454..6688ae56cb0 100644 --- a/lib/spam/concerns/has_spam_action_response_fields.rb +++ b/lib/spam/concerns/has_spam_action_response_fields.rb @@ -23,15 +23,6 @@ module Spam captcha_site_key: Gitlab::CurrentSettings.recaptcha_site_key } end - - # with_spam_action_response_fields(spammable) { {other_fields: true} } -> hash - # - # Takes a Spammable and a block as arguments. - # - # The block passed should be a hash, which the spam_action_fields will be merged into. - def with_spam_action_response_fields(spammable) - yield.merge(spam_action_response_fields(spammable)) - end end end end |