diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 06:07:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 06:07:38 +0300 |
commit | 0cee6f1577cd31cae7dc0e82f65dcad462a4d18a (patch) | |
tree | 180a48cc0b5b15e6f2ac489a6c828ebab591d4cf /app/services | |
parent | dcd01617a750c41fd082cc3383fc7ad2f2afd026 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/spam/spam_verdict_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/spam/spam_verdict_service.rb b/app/services/spam/spam_verdict_service.rb index 0dcb3546034..4ec07bb4c5f 100644 --- a/app/services/spam/spam_verdict_service.rb +++ b/app/services/spam/spam_verdict_service.rb @@ -42,7 +42,7 @@ module Spam # Favour the most restrictive result. verdict = valid_results.min_by { |v| SUPPORTED_VERDICTS[v][:priority] } - # The target can override the verdict via the `allow_possible_spam` feature flag + # The target can override the verdict via the `allow_possible_spam` application setting verdict = OVERRIDE_VIA_ALLOW_POSSIBLE_SPAM if override_via_allow_possible_spam?(verdict: verdict) logger.info(class: self.class.name, |