Bonjour Ollie,

http://bugzilla.mkgnu.net/show_bug.cgi?id=948

I'll have a look.

On Sat, 2007-10-06 at 11:06 +0200, Oliver Schäfer wrote:
> In Bugzilla.pm/integration_delete_tag the contructor of  
> Bugzilla::Version is called with wrong parameters at the moment.
> I think following code should fix the issue on deleting a tag.

You think, or have you tried it and verified that it works ?

> 
> sub integration_delete_tag {
>      my $self = shift;
>      my ( $product_name, $tag_name ) = ( @_ );
> 
>      if ( $self->is_version_latest() ) {
>          my $product = new Bugzilla::Product( { name =>  
> $product_name } );
>       my $version = new Bugzilla::Version({ product => $product, name =>  
> $tag_name });
>          $version->remove_from_db;
>      } else {
> ................
> 
> 
> Oliver Schäfer
> 
> 
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to