diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-12-27 17:30:03 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-04-10 18:31:51 +0200 |
commit | 0468c97dd1d78f94ecb1537e77bc96e2f5acbbd4 (patch) | |
tree | 0186f285055c4bd4e46b0e905d8d4e473eb7b9be /Bugzilla/Migrate.pm | |
parent | 36d332cb88bc027bb29495f6701d6a97ec4190fc (diff) | |
download | bugzilla-0468c97dd1d78f94ecb1537e77bc96e2f5acbbd4.tar.gz bugzilla-0468c97dd1d78f94ecb1537e77bc96e2f5acbbd4.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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Bugzilla/Migrate.pm b/Bugzilla/Migrate.pm index 973928397..da2d1a750 100644 --- a/Bugzilla/Migrate.pm +++ b/Bugzilla/Migrate.pm @@ -701,7 +701,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); @@ -762,9 +761,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); |