diff options
Diffstat (limited to 'lib/api/unleash.rb')
-rw-r--r-- | lib/api/unleash.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/api/unleash.rb b/lib/api/unleash.rb index 3148c56339a..37fe540cde1 100644 --- a/lib/api/unleash.rb +++ b/lib/api/unleash.rb @@ -69,10 +69,7 @@ module API def feature_flags return [] unless unleash_app_name.present? - legacy_flags = Operations::FeatureFlagScope.for_unleash_client(project, unleash_app_name) - new_version_flags = Operations::FeatureFlag.for_unleash_client(project, unleash_app_name) - - legacy_flags + new_version_flags + Operations::FeatureFlag.for_unleash_client(project, unleash_app_name) end end end |