Thanks John, that's a lot cleaner! I still reworked a few things. One
thing that wasn't clear to me was:


sub integration_get_bug_monitors_email_list {
    my $self = shift;
    my $bugid = shift;
    my @bug_monitors_email_list;

    if ( $self->is_version_latest() ) {
        my $bug = new Bugzilla::Bug( $bugid );
        my ( @cc ) = $bug->cc();
        if ( @cc ) {
            foreach my $c ( @cc ) {
                foreach my $bug_monitor_email ( @$c ) {
                    push @bug_monitors_email_list, $bug_monitor_email;
                }
            }
        }
...
}


Does the @cc list really contain a list of arrays ? Did anybody find the
online docs for Bugzilla::Bug ?


_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to