Commit 3fbc51d3 authored by rossfuhrman's avatar rossfuhrman Committed by Stan Hu

Remove Security Dashboard feature flag

This removes the group_overview_security_dashboard feature flag
parent 2b48eec8
---
title: Remove Security Dashboard feature flag
merge_request: 31820
author:
type: other
......@@ -100,11 +100,9 @@ module Gitlab
.merge(services_usage)
.merge(approximate_counts)
}.tap do |data|
if Feature.enabled?(:group_overview_security_dashboard)
data[:counts][:user_preferences] = user_preferences_usage
end
end
end
# rubocop: enable CodeReuse/ActiveRecord
def cycle_analytics_usage_data
......
......@@ -154,11 +154,6 @@ describe Gitlab::UsageData do
expect(expected_keys - count_data.keys).to be_empty
end
it 'does not gather user preferences usage data when the feature is disabled' do
stub_feature_flags(group_overview_security_dashboard: false)
expect(subject[:counts].keys).not_to include(:user_preferences)
end
it 'gathers projects data correctly' do
count_data = subject[:counts]
......
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