Commit c11ba136 authored by Nick Thomas's avatar Nick Thomas

Remove broken memoization in LicenseHelper#show_promotions?

parent 5a0c0e15
......@@ -77,9 +77,7 @@ module LicenseHelper
def show_promotions?(selected_user = current_user)
return false unless selected_user
return @show_promotions if defined?(@show_promotions)
@show_promotions =
if current_application_settings.should_check_namespace_plan?
true
else
......
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