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:
authorMatija Čupić <matteeyah@gmail.com>2018-02-03 02:16:24 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-02-03 02:18:25 +0300
commit20714ee90232b5577fc99f2a773ddccf71482c08 (patch)
tree87d84e442bdf9bee58d1ef6f67d658035ac1e777 /app/helpers/user_callouts_helper.rb
parent79efb9d0b2d08764ac1a7b0b8e3004c6da9236c1 (diff)
Change UserCallout feautre_name to enum
Diffstat (limited to 'app/helpers/user_callouts_helper.rb')
-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 3725545d4cc..a292f676331 100644
--- a/app/helpers/user_callouts_helper.rb
+++ b/app/helpers/user_callouts_helper.rb
@@ -1,11 +1,6 @@
module UserCalloutsHelper
GKE_CLUSTER_INTEGRATION = 'gke_cluster_integration'.freeze
- # Higher value = higher priority
- PRIORITY = {
- GKE_CLUSTER_INTEGRATION: 0
- }.freeze
-
def show_gke_cluster_integration_callout?(project)
current_user && !user_dismissed?(GKE_CLUSTER_INTEGRATION) &&
can?(current_user, :create_cluster, project)