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:
parent
c9197769fb
commit
8e57b1f6cd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue