remove trailing white-spaces from lib/tasks/load_default_data.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7076 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a8f89fa088
commit
d32982ed4c
|
@ -4,7 +4,7 @@ namespace :redmine do
|
||||||
task :load_default_data => :environment do
|
task :load_default_data => :environment do
|
||||||
include Redmine::I18n
|
include Redmine::I18n
|
||||||
set_language_if_valid('en')
|
set_language_if_valid('en')
|
||||||
|
|
||||||
envlang = ENV['REDMINE_LANG']
|
envlang = ENV['REDMINE_LANG']
|
||||||
if !envlang || !set_language_if_valid(envlang)
|
if !envlang || !set_language_if_valid(envlang)
|
||||||
puts
|
puts
|
||||||
|
@ -21,7 +21,7 @@ namespace :redmine do
|
||||||
STDOUT.flush
|
STDOUT.flush
|
||||||
puts "===================================="
|
puts "===================================="
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Redmine::DefaultData::Loader.load(current_language)
|
Redmine::DefaultData::Loader.load(current_language)
|
||||||
puts "Default configuration data loaded."
|
puts "Default configuration data loaded."
|
||||||
|
|
Loading…
Reference in New Issue