diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-08-04 10:18:46 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-08-04 10:18:46 +0000 |
commit | b900ea8e2f188cdf07951bc37c466408c738eda7 (patch) | |
tree | 1074e49233432989780aa8654647345823c4fdfc /lib | |
parent | e13814a59c70cb6e6461815f4dec9fe6f34e9423 (diff) | |
download | redmine-b900ea8e2f188cdf07951bc37c466408c738eda7.tar.gz redmine-b900ea8e2f188cdf07951bc37c466408c738eda7.zip |
Default data loader raises an error when called from the rake task (#14607).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12076 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/load_default_data.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake index cc6774bce..bcfff7c3b 100644 --- a/lib/tasks/load_default_data.rake +++ b/lib/tasks/load_default_data.rake @@ -2,6 +2,7 @@ desc 'Load Redmine default configuration data. Language is chosen interactively namespace :redmine do task :load_default_data => :environment do + require 'custom_field' include Redmine::I18n set_language_if_valid('en') |