Commit 32898ed7 authored by alinamihaila's avatar alinamihaila

Remove extra feature flag check

  - Remove feature flag check from ee ci::build
  model
  - This is checked in Gitlab::UsageDataCounters::HLLRedisCounter
parent 5cb83a56
......@@ -184,7 +184,6 @@ module EE
end
def track_ci_secrets_management_usage
return unless ::Feature.enabled?(:usage_data_i_ci_secrets_management_vault_build_created, default_enabled: true)
return unless ci_secrets_management_available? && secrets?
::Gitlab::UsageDataCounters::HLLRedisCounter.track_event('i_ci_secrets_management_vault_build_created', values: user_id)
......
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