Fix EE::User#any_namespace_{with,without}_trial? methods
`namespaces.trial_ends_on` is being removed, so `any_namespace_without_trial?` should use `gitlab_subscriptions.trial_ends_on` instead. `any_namespace_with_trial?` wasn't actually needed, as it was used when checking if a user owned either: 1. A namespace on a paid plan. 2. A namespace on an active trial. But all active trials are on paid plans (a trial on the free plan doesn't make sense), so we only need the first check there.
Showing
Please register or sign in to comment