Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/product_analytics/collector_app.rb')
-rw-r--r--lib/product_analytics/collector_app.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/product_analytics/collector_app.rb b/lib/product_analytics/collector_app.rb
index cf971eef4b6..1008d2f264c 100644
--- a/lib/product_analytics/collector_app.rb
+++ b/lib/product_analytics/collector_app.rb
@@ -14,7 +14,7 @@ module ProductAnalytics
# for project without the feature enabled. During increase of feature adoption, this
# check will be removed for better performance.
project = Project.find(params['aid'].to_i)
- return not_found unless Feature.enabled?(:product_analytics, project, default_enabled: false)
+ return not_found unless Feature.enabled?(:product_analytics, project)
# Snowplow tracker has own format of events.
# We need to convert them to match the schema of our database.