diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-14 13:58:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-14 13:58:39 +0000 |
commit | 3eec500320b1488e53b8e21d83532a4feceb160d (patch) | |
tree | 5030607844d9cea6e28bb8c55dee7e4f77dfb627 /lib/tasks | |
parent | c16e27625c08e8c06d0b43f393c96219c7436d04 (diff) | |
download | redmine-3eec500320b1488e53b8e21d83532a4feceb160d.tar.gz redmine-3eec500320b1488e53b8e21d83532a4feceb160d.zip |
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
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/migrate_from_mantis.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/migrate_from_mantis.rake b/lib/tasks/migrate_from_mantis.rake index 5eb1160dd..4f6f18527 100644 --- a/lib/tasks/migrate_from_mantis.rake +++ b/lib/tasks/migrate_from_mantis.rake @@ -471,7 +471,7 @@ task :migrate_from_mantis => :environment do puts
# 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.migrate
|