Commit 094759b5 authored by Rubén Dávila's avatar Rubén Dávila

Feature flag should be disabled by default

From the docs: https://docs.gitlab.com/ee/development/documentation/feature_flags.html#criteria
parent b6a75761
......@@ -94,7 +94,7 @@ class GitlabSubscription < ApplicationRecord
# We need to show seats in use for free or trial subscriptions
# in order to make it easy for customers to get this information.
def seats_in_use
return super unless Feature.enabled?(:seats_in_use_for_free_or_trial, type: :ops, default_enabled: true)
return super unless Feature.enabled?(:seats_in_use_for_free_or_trial, type: :ops)
return super if has_a_paid_hosted_plan? || !hosted?
seats_in_use_now
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment