Commit 11a06a4f authored by James Fargher's avatar James Fargher

Merge branch 'dreedy-remove-unneeded-trial-status-widget-helper-methods' into 'master'

Remove unneeded helper methods, result of bad merge conflict resolution

See merge request gitlab-org/gitlab!57299
parents fe0a6299 83d1254d
......@@ -41,16 +41,8 @@ module TrialStatusWidgetHelper
}
end
def trial_status_widget_experiment_enabled?(group)
experiment_enabled?(:show_trial_status_in_sidebar, subject: group)
end
def ultimate_subscription_path_for_group(group)
# Hard-coding the plan_id to the Ultimate plan on production & staging
new_subscriptions_path(namespace_id: group.id, plan_id: '2c92a0fc5a83f01d015aa6db83c45aac')
end
def user_can_administer_group?(group)
can?(current_user, :admin_namespace, group)
end
end
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