summaryrefslogtreecommitdiff
path: root/app/finders/feature_flags_finder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/finders/feature_flags_finder.rb')
-rw-r--r--app/finders/feature_flags_finder.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/finders/feature_flags_finder.rb b/app/finders/feature_flags_finder.rb
index 9cb3bf7fa23..7b38841970d 100644
--- a/app/finders/feature_flags_finder.rb
+++ b/app/finders/feature_flags_finder.rb
@@ -24,11 +24,7 @@ class FeatureFlagsFinder
private
def feature_flags
- if Feature.enabled?(:feature_flags_new_version, project, default_enabled: true)
- project.operations_feature_flags
- else
- project.operations_feature_flags.legacy_flag
- end
+ project.operations_feature_flags
end
def by_scope(items)