diff --git a/src/api/app/controllers/source_controller.rb b/src/api/app/controllers/source_controller.rb index e26a61520baeea63956b6bbe91925b84aff68c08..2a2150b1987b858274fb472036c7d7c9d8016e64 100644 --- a/src/api/app/controllers/source_controller.rb +++ b/src/api/app/controllers/source_controller.rb @@ -432,13 +432,6 @@ class SourceController < ApplicationController else # access check prj = Project.get_by_name params[:project] - # since users may now see different versions of the - # project XML depending on their access permissions - # to linked projects, and the cache is global, we must - # invalidate the cache before reconstructing the xml. - if prj.id - Rails.cache.delete("xml_project_#{prj.id}") - end render xml: prj.to_axml end end