diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-22 03:09:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-22 03:09:11 +0300 |
commit | 4407fa18edc418f6db9004d09e3c45ab4bca8a1e (patch) | |
tree | 13165cd61ef68b7bf6c4c3b8de79765e998422c2 /app/experiments | |
parent | 7e3f469a40a784f8eb41138361b18aaa0de491cf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/experiments')
-rw-r--r-- | app/experiments/force_company_trial_experiment.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/experiments/force_company_trial_experiment.rb b/app/experiments/force_company_trial_experiment.rb new file mode 100644 index 00000000000..00bdd5d693d --- /dev/null +++ b/app/experiments/force_company_trial_experiment.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class ForceCompanyTrialExperiment < ApplicationExperiment # rubocop:disable Gitlab/NamespacedClass + exclude :setup_for_personal + + private + + def setup_for_personal + !context.user.setup_for_company + end +end |