1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

Make sure that invalid cache from older versions is not used for languages_options (#14534).

git-svn-id: http://svn.redmine.org/redmine/trunk@13544 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-11-02 21:25:59 +00:00
parent b3f377dfc4
commit 4e815e25d7

View File

@ -99,7 +99,7 @@ module Redmine
map {|lang| [ll(lang.to_s, :general_lang_name), lang.to_s]}.
sort {|x,y| x.first <=> y.first }
else
ActionController::Base.cache_store.fetch "i18n/languages_options" do
ActionController::Base.cache_store.fetch "i18n/languages_options/#{Redmine::VERSION}" do
languages_options :cache => false
end
end