spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felic...@apache.org
Subject svn commit: r417105 - /spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
Date Mon, 26 Jun 2006 01:53:54 GMT
Author: felicity
Date: Sun Jun 25 18:53:54 2006
New Revision: 417105

URL: http://svn.apache.org/viewvc?rev=417105&view=rev
Log:
modify Message::find_parts() to pass any options to Message::Node::find_parts() even if the
API changes

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm?rev=417105&r1=417104&r2=417105&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm Sun Jun 25 18:53:54 2006
@@ -353,13 +353,13 @@
 # objects which match.
 #
 sub find_parts {
-  my ($self, $re, $onlyleaves, $recursive) = @_;
+  my $self = shift;
 
   # ok, we need to do the parsing now...
   $self->_do_parse() if (exists $self->{'toparse'});
 
   # and pass through to the Message::Node version of the method
-  return $self->SUPER::find_parts($re, $onlyleaves, $recursive);
+  return $self->SUPER::find_parts(@_);
 }
 
 # ---------------------------------------------------------------------------



Mime
View raw message