diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 13:49:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 13:49:51 +0000 |
commit | 71786ddc8e28fbd3cb3fcc4b3ff15e5962a1c82e (patch) | |
tree | 6a2d93ef3fb2d353bb7739e4b57e6541f51cdd71 /app/helpers/bizible_helper.rb | |
parent | a7253423e3403b8c08f8a161e5937e1488f5f407 (diff) | |
download | gitlab-ce-a36f25615e8226344d87b692ccf3e543d5d81712.tar.gz |
Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42
Diffstat (limited to 'app/helpers/bizible_helper.rb')
-rw-r--r-- | app/helpers/bizible_helper.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/helpers/bizible_helper.rb b/app/helpers/bizible_helper.rb index 970cc6558da..4c8d3744ced 100644 --- a/app/helpers/bizible_helper.rb +++ b/app/helpers/bizible_helper.rb @@ -1,8 +1,9 @@ # frozen_string_literal: true module BizibleHelper - def bizible_enabled? - Feature.enabled?(:ecomm_instrumentation, type: :ops) && + def bizible_enabled?(invite_email = nil) + invite_email.blank? && + Feature.enabled?(:ecomm_instrumentation, type: :ops) && Gitlab.config.extra.has_key?('bizible') && Gitlab.config.extra.bizible.present? && Gitlab.config.extra.bizible == true |