##// END OF EJS Templates
Make sure that invalid cache from older versions is not used for languages_options (#14534)....
Jean-Philippe Lang -
r13162:4e815e25d7f6
parent child
Show More
@@ -99,7 +99,7 module Redmine
99 map {|lang| [ll(lang.to_s, :general_lang_name), lang.to_s]}.
99 map {|lang| [ll(lang.to_s, :general_lang_name), lang.to_s]}.
100 sort {|x,y| x.first <=> y.first }
100 sort {|x,y| x.first <=> y.first }
101 else
101 else
102 ActionController::Base.cache_store.fetch "i18n/languages_options" do
102 ActionController::Base.cache_store.fetch "i18n/languages_options/#{Redmine::VERSION}" do
103 languages_options :cache => false
103 languages_options :cache => false
104 end
104 end
105 end
105 end
General Comments 0
You need to be logged in to leave comments. Login now