diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-05-11 17:22:08 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-05-11 17:22:08 +0200 |
commit | f2b86a29d52abce4cd03a72f3de32b208bbaf690 (patch) | |
tree | e5114d65d418df60bc0b24d5a9c22072e478b9e8 /Bugzilla/Migrate | |
parent | 92819ba4dffc0dcd4a757284856d2ff3069fd2da (diff) | |
download | bugzilla-f2b86a29d52abce4cd03a72f3de32b208bbaf690.tar.gz bugzilla-f2b86a29d52abce4cd03a72f3de32b208bbaf690.tar.xz |
Flyspray: Remove old debug code
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'Bugzilla/Migrate')
-rw-r--r-- | Bugzilla/Migrate/Flyspray.pm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Bugzilla/Migrate/Flyspray.pm b/Bugzilla/Migrate/Flyspray.pm index f38d049ac..70d94c91e 100644 --- a/Bugzilla/Migrate/Flyspray.pm +++ b/Bugzilla/Migrate/Flyspray.pm @@ -267,7 +267,6 @@ sub _read_bugs { my $fsdb = $self->config("flyspray_db"); my $fsprfx = $self->config("flyspray_prefix"); - #my $sth = $self->_select_fs([qw(tasks users)], [qw(task_id product_category project_id item_summary detailed_desc user_name)], {'tasks.opened_by' => \' = users.user_id' }); my $sth = $self->{dbh}->prepare(" SELECT t.task_id, @@ -462,14 +461,11 @@ sub _read_bugs { ispatch => $attachment->{file_type} =~ m/^text\/x-diff/ ? 1 : 0, data_path => $path, }; - #$attachment_item->{mimetype} = mimetype($path) if $attachment_item->{mimetype} eq "" or $attachment_item->{mimetype} !~ m/.+\/.+/; $attachment_item->{mimetype} = mimetype($path); # TODO: set extra_data and type of comment when attachment is part of a comment. # problem: how to get attachment id? not yet in db # change _insert_attachments/_insert_comments? push @{$bug->{attachments}}, $attachment_item; - #$self->debug($bug); - #die if $attachment->{date_added} == 1110715864; } $self->{bug_map}->{$bug->{bug_id}} = $bug; |