Small change to mantis importer to be 0.5.1 compatible.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@635 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c16e27625c
commit
3eec500320
|
@ -471,7 +471,7 @@ task :migrate_from_mantis => :environment do
|
||||||
puts
|
puts
|
||||||
|
|
||||||
# Make sure bugs can refer bugs in other projects
|
# Make sure bugs can refer bugs in other projects
|
||||||
Setting.cross_project_issue_relations = 1
|
Setting.cross_project_issue_relations = 1 if Setting.respond_to? 'cross_project_issue_relations'
|
||||||
|
|
||||||
MantisMigrate.establish_connection db_params
|
MantisMigrate.establish_connection db_params
|
||||||
MantisMigrate.migrate
|
MantisMigrate.migrate
|
||||||
|
|
Loading…
Reference in New Issue