Commit ef905f55 authored by Piotr Skorupa's avatar Piotr Skorupa

Add seat_link_enabled? alias in EE::ApplicationSetting

parent bf08452c
......@@ -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