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
This commit is contained in:
Jean-Philippe Lang 2013-08-04 10:18:46 +00:00
parent e13814a59c
commit b900ea8e2f
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ desc 'Load Redmine default configuration data. Language is chosen interactively
namespace :redmine do namespace :redmine do
task :load_default_data => :environment do task :load_default_data => :environment do
require 'custom_field'
include Redmine::I18n include Redmine::I18n
set_language_if_valid('en') set_language_if_valid('en')