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:
authorTristan Read <tread@gitlab.com>2019-08-09 23:35:43 +0300
committerRobert Speicher <rspeicher@gmail.com>2019-08-09 23:35:43 +0300
commit5e6a58040bcfaa4c933027cddfad04810042b904 (patch)
tree98add06845bf9d558de38c9c1034ade7d05d9ce2 /lib/gitlab/gon_helper.rb
parent25dd49cda27b479a478eac861e1704812602d938 (diff)
Remove gfm_embed_metrics flag from BE
Removes the feature flag that controls whether metrics dashboard urls unfurl the metrics dashboard charts.
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r--lib/gitlab/gon_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb
index 41ec8741eb1..92917028851 100644
--- a/lib/gitlab/gon_helper.rb
+++ b/lib/gitlab/gon_helper.rb
@@ -38,11 +38,6 @@ module Gitlab
gon.current_user_fullname = current_user.name
gon.current_user_avatar_url = current_user.avatar_url
end
-
- # Flag controls a GFM feature used across many routes.
- # Pushing the flag from one place simplifies control
- # and facilitates easy removal.
- push_frontend_feature_flag(:gfm_embedded_metrics)
end
# Exposes the state of a feature flag to the frontend code.