diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-12-27 17:30:03 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-12-06 11:06:00 +0100 |
commit | 8426dcc12aeea5a86511230de384f57142e76910 (patch) | |
tree | 6a06dfe8bff0bbd1ea55ce81d38a0cba79047882 /Bugzilla/Migrate.pm | |
parent | 1b00de587da2e1baea9b8753c6465c7f529304aa (diff) | |
download | bugzilla-8426dcc12aeea5a86511230de384f57142e76910.tar.gz bugzilla-8426dcc12aeea5a86511230de384f57142e76910.tar.xz |
WIP: misc fixes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'Bugzilla/Migrate.pm')
-rw-r--r-- | Bugzilla/Migrate.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Bugzilla/Migrate.pm b/Bugzilla/Migrate.pm index f4ae078f9..e52e1ea87 100644 --- a/Bugzilla/Migrate.pm +++ b/Bugzilla/Migrate.pm @@ -716,7 +716,6 @@ sub insert_bugs { my $comments = delete $bug->{comments}; my $history = delete $bug->{history}; my $attachments = delete $bug->{attachments}; - my $dup_id = delete $bug->{dup_id}; $self->debug($bug, 3); @@ -781,10 +780,6 @@ sub insert_bugs { $reporter->{groups} = $super_user->groups; Bugzilla->set_user($reporter); my $created = Bugzilla::Bug->create($bug); - if (defined $dup_id) { - $dbh->do("INSERT INTO duplicates (dupe_of, dupe) VALUES (?, ?)", - undef, $dup_id, $created->id); - } $self->debug('Created bug ' . $created->id); Bugzilla->set_user($super_user); |