Merge branch '47851-bump-cache-for-old-master-permission' into 'master'

Resolve "Reference to master still cached"

Closes #47851

See merge request gitlab-org/gitlab-ce!19827
This commit is contained in:
Dmitriy Zaporozhets 2018-06-14 12:10:34 +00:00
commit 9bdd685a7a

View file

@ -176,7 +176,7 @@ module ProjectsHelper
controller.action_name,
Gitlab::CurrentSettings.cache_key,
"cross-project:#{can?(current_user, :read_cross_project)}",
'v2.5'
'v2.6'
]
key << pipeline_status_cache_key(project.pipeline_status) if project.pipeline_status.has_status?