diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-17 03:09:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-17 03:09:34 +0300 |
commit | 28811a419e29bc3388eaf2dded29bcc1b716afd1 (patch) | |
tree | 5ddf15a597b47674017ebb4d72162dc5aa582770 /app/models/concerns/enums | |
parent | aa33f5d5bbdcfff893da23eebd95064b4fa2e453 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/concerns/enums')
-rw-r--r-- | app/models/concerns/enums/user_callout.rb | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/app/models/concerns/enums/user_callout.rb b/app/models/concerns/enums/user_callout.rb deleted file mode 100644 index 80df1ada9d9..00000000000 --- a/app/models/concerns/enums/user_callout.rb +++ /dev/null @@ -1,33 +0,0 @@ -# frozen_string_literal: true - -module Enums - module UserCallout - # Returns the `Hash` to use for the `feature_name` enum in the `UserCallout` - # model. - # - # This method is separate from the `UserCallout` model so that it can be - # extended by EE. - # - # If you are going to add new items to this hash, check that you're not going - # to conflict with EE-only values: https://gitlab.com/gitlab-org/gitlab/blob/master/ee/app/models/concerns/ee/enums/user_callout.rb - def self.feature_names - { - gke_cluster_integration: 1, - gcp_signup_offer: 2, - cluster_security_warning: 3, - suggest_popover_dismissed: 9, - tabs_position_highlight: 10, - webhooks_moved: 13, - service_templates_deprecated: 14, - admin_integrations_moved: 15, - web_ide_alert_dismissed: 16, - personal_access_token_expiry: 21, # EE-only - suggest_pipeline: 22, - customize_homepage: 23, - feature_flags_new_version: 24 - } - end - end -end - -Enums::UserCallout.prepend_if_ee('EE::Enums::UserCallout') |