summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-11-06 12:27:40 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-11-06 12:27:40 +0000
commit4b462b801e2dcbcb35d8ef3a19f94f5a280748e1 (patch)
tree95552a067f7b2d01fddb4e9681c4c8d3b5610988 /app/helpers
parent160dbe70d82aac8ee8376dbbff96c5706ff919ec (diff)
parentfe083f505d907c1d1cef14c29170b31cf30192fe (diff)
downloadgitlab-ce-4b462b801e2dcbcb35d8ef3a19f94f5a280748e1.tar.gz
Merge branch 'remove-experimental-label-from-cluster-views' into 'master'
Removes 'experimental' label from cluster views See merge request gitlab-org/gitlab-ce!22550
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/user_callouts_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/helpers/user_callouts_helper.rb b/app/helpers/user_callouts_helper.rb
index bae01d476df..4aba48061ba 100644
--- a/app/helpers/user_callouts_helper.rb
+++ b/app/helpers/user_callouts_helper.rb
@@ -3,7 +3,6 @@
module UserCalloutsHelper
GKE_CLUSTER_INTEGRATION = 'gke_cluster_integration'.freeze
GCP_SIGNUP_OFFER = 'gcp_signup_offer'.freeze
- CLUSTER_SECURITY_WARNING = 'cluster_security_warning'.freeze
def show_gke_cluster_integration_callout?(project)
can?(current_user, :create_cluster, project) &&
@@ -14,10 +13,6 @@ module UserCalloutsHelper
!user_dismissed?(GCP_SIGNUP_OFFER)
end
- def show_cluster_security_warning?
- !user_dismissed?(CLUSTER_SECURITY_WARNING)
- end
-
private
def user_dismissed?(feature_name)