summaryrefslogtreecommitdiff
path: root/app/models/concerns/spammable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/spammable.rb')
-rw-r--r--app/models/concerns/spammable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/spammable.rb b/app/models/concerns/spammable.rb
index d27b451892a..fba923e843a 100644
--- a/app/models/concerns/spammable.rb
+++ b/app/models/concerns/spammable.rb
@@ -123,6 +123,6 @@ module Spammable
# Override in Spammable if differs
def allow_possible_spam?
- Feature.enabled?(:allow_possible_spam, project)
+ Gitlab::CurrentSettings.allow_possible_spam
end
end