diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-02 21:25:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-02 21:25:59 +0000 |
commit | 4e815e25d7f64ca785c63b5868be3f4d46fd5ff6 (patch) | |
tree | ce325312c7895331c3f0268c1e163355ceef0fc8 /lib | |
parent | b3f377dfc4712e81e4e63fb35f865930469bd541 (diff) | |
download | redmine-4e815e25d7f64ca785c63b5868be3f4d46fd5ff6.tar.gz redmine-4e815e25d7f64ca785c63b5868be3f4d46fd5ff6.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/i18n.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/i18n.rb b/lib/redmine/i18n.rb index 3e783170f..4b8dc2185 100644 --- a/lib/redmine/i18n.rb +++ b/lib/redmine/i18n.rb @@ -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 |