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:
parent
e13814a59c
commit
b900ea8e2f
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue