Remove back-compat line in projects_helper.rb
In ProjectsHelper#license_short_name
, replace the following back-compat code:
no_license_key = project.repository.license_key.nil? ||
# Back-compat if cache contains 'no-license', can be removed in a few weeks
project.repository.license_key == 'no-license'
with simply:
no_license_key = project.repository.license_key.nil?
The reason is that we have to wait for the redis cache key to be cleared if it was set to 'no-license'
.
This was introduced by !3878 (merged).