summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-12-18 15:42:34 +0000
committerDouwe Maan <douwe@gitlab.com>2018-12-18 15:42:34 +0000
commit58ee1746a867ea939dd64a993963f14fc34c338d (patch)
treed84fb41de2c37a647bc7e9edb0ee8d55b9a0e4a0 /lib
parent4e8450aff6125ba48e7460db59a6341c9d680ad7 (diff)
parentee425c9cf85e1cde3d284ebfcb5ce7328a37e8c1 (diff)
downloadgitlab-ce-58ee1746a867ea939dd64a993963f14fc34c338d.tar.gz
Merge branch 'osw-revert-suggestions-ff' into 'master'
Remove feature flag for suggest changes feature See merge request gitlab-org/gitlab-ce!23892
Diffstat (limited to 'lib')
-rw-r--r--lib/banzai/filter/suggestion_filter.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/banzai/filter/suggestion_filter.rb b/lib/banzai/filter/suggestion_filter.rb
index 822db7cf26e..307ea449140 100644
--- a/lib/banzai/filter/suggestion_filter.rb
+++ b/lib/banzai/filter/suggestion_filter.rb
@@ -7,7 +7,6 @@ module Banzai
TAG_CLASS = 'js-render-suggestion'.freeze
def call
- return doc unless Suggestion.feature_enabled?
return doc unless suggestions_filter_enabled?
doc.search('pre.suggestion > code').each do |node|