Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-22 12:09:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-22 12:09:36 +0300
commitaf5fb16f2a9fca958017aade72cf7133e986bc2c (patch)
tree007dcd6a8ae64239f7f89666a8d3a6f440404778 /app/services/spam
parent66b52237fd4f10a62afef61034e90f68cb9363a9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/spam')
-rw-r--r--app/services/spam/spam_action_service.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/services/spam/spam_action_service.rb b/app/services/spam/spam_action_service.rb
index 3ae80975d4a..6907a42c7dd 100644
--- a/app/services/spam/spam_action_service.rb
+++ b/app/services/spam/spam_action_service.rb
@@ -49,9 +49,6 @@ module Spam
break if target.allow_possible_spam?
- # TODO: remove spam! declaration
- # https://gitlab.com/gitlab-org/gitlab/-/issues/214738
- target.spam!
target.needs_recaptcha!
when DISALLOW
# TODO: remove `unless target.allow_possible_spam?` once this flag has been passed to `SpamVerdictService`