From: Sean Zellmer Date: Thu, 20 Feb 2014 21:54:33 +0000 (-0600) Subject: Removed useless line of code in many_to_many X-Git-Tag: v0.082800~234 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=994f4d9abe4e7e9c78c56e74b76c6bbd7e79db33;p=dbsrgits%2FDBIx-Class.git Removed useless line of code in many_to_many --- diff --git a/lib/DBIx/Class/Relationship/ManyToMany.pm b/lib/DBIx/Class/Relationship/ManyToMany.pm index 07f89c2..ef63b08 100644 --- a/lib/DBIx/Class/Relationship/ManyToMany.pm +++ b/lib/DBIx/Class/Relationship/ManyToMany.pm @@ -63,7 +63,6 @@ EOW *$rs_meth_name = subname $rs_meth_name, sub { my $self = shift; my $attrs = @_ > 1 && ref $_[$#_] eq 'HASH' ? pop(@_) : {}; - my @args = ($f_rel, @_ > 0 ? @_ : undef, { %{$rel_attrs||{}}, %$attrs }); my $rs = $self->search_related($rel)->search_related( $f_rel, @_ > 0 ? @_ : undef, { %{$rel_attrs||{}}, %$attrs } );