Commit c2b509ed authored by James Lopez's avatar James Lopez

Merge branch 'hide-com-trial-callout-dev' into 'master'

Dont render .com trial callouts in dev

Closes #8494

See merge request gitlab-org/gitlab-ee!10943
parents 3a4898c2 0dd6d791
......@@ -99,8 +99,7 @@ module EE
end
def show_gold_trial_suitable_env?
(::Gitlab.com? || Rails.env.development?) &&
!::Gitlab::Database.read_only?
::Gitlab.com? && !::Gitlab::Database.read_only?
end
def has_no_trial_or_gold_plan?(user)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment