Commit 9d8e9706 authored by Jackie Fraser's avatar Jackie Fraser

Remove feature flag from upgrade link in user menu

This feature flag :upgrade_link_in_user_menu_a was introduced in 13.11
converted from :upgrade_link_in_user_menu_a_experiment_percentage

Changelog: added
parent 52c57c3c
---
title: Remove feature flag from upgrade link in user menu
merge_request: 61057
author:
type: added
---
name: upgrade_link_in_user_menu_a
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56591
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/300824
milestone: '13.11'
type: development
group: group::expansion
default_enabled: true
...@@ -23,7 +23,6 @@ module EE ...@@ -23,7 +23,6 @@ module EE
def show_upgrade_link?(user) def show_upgrade_link?(user)
return unless user return unless user
return unless ::Gitlab.com? return unless ::Gitlab.com?
return unless ::Feature.enabled?(:upgrade_link_in_user_menu_a, default_enabled: :yaml)
Rails.cache.fetch(['users', user.id, 'show_upgrade_link?'], expires_in: 10.minutes) do Rails.cache.fetch(['users', user.id, 'show_upgrade_link?'], expires_in: 10.minutes) do
user.owns_upgradeable_namespace? user.owns_upgradeable_namespace?
......
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