Fixed: Trac importer creates duplicate wiki records (#4743).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3517 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-02-28 16:51:36 +00:00
parent c9197769fb
commit 8e57b1f6cd
1 changed files with 1 additions and 0 deletions

View File

@ -682,6 +682,7 @@ namespace :redmine do
project.trackers << TRACKER_BUG unless project.trackers.include?(TRACKER_BUG) project.trackers << TRACKER_BUG unless project.trackers.include?(TRACKER_BUG)
project.trackers << TRACKER_FEATURE unless project.trackers.include?(TRACKER_FEATURE) project.trackers << TRACKER_FEATURE unless project.trackers.include?(TRACKER_FEATURE)
@target_project = project.new_record? ? nil : project @target_project = project.new_record? ? nil : project
@target_project.reload
end end
def self.connection_params def self.connection_params