Commit cfc94613 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '333779-add-alias-for-seat-link-enabled-method' into 'master'

Add alias method `seat_link_enabled?`

See merge request gitlab-org/gitlab!64541
parents 4ad27855 ef905f55
......@@ -253,9 +253,10 @@ module EE
Settings.gitlab.seat_link_enabled
end
def seat_link_enabled?
def seat_link_enabled
seat_link_available? && seat_link_can_be_configured? && super
end
alias_method :seat_link_enabled?, :seat_link_enabled
def should_check_namespace_plan?
check_namespace_plan? && (Rails.env.test? || ::Gitlab.dev_env_org_or_com?)
......
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