Welcome to mirror list, hosted at ThFree Co, Russian Federation.

one_trust_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55364d36a0ed524ecc2d5d62f4013a0b4344af94 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module OneTrustHelper
  def one_trust_enabled?
    Feature.enabled?(:ecomm_instrumentation, type: :ops) &&
      Gitlab.config.extra.has_key?('one_trust_id') &&
      Gitlab.config.extra.one_trust_id.present?
  end
end