[Rt-commit] r9460 - rt/branches/3.6-RELEASE/lib/RT/Action
tla at bestpractical.com
tla at bestpractical.com
Thu Oct 25 10:39:46 EDT 2007
Author: tla
Date: Thu Oct 25 10:39:42 2007
New Revision: 9460
Modified:
rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm
Log:
change comment
Modified: rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm (original)
+++ rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm Thu Oct 25 10:39:42 2007
@@ -100,8 +100,8 @@
# {{{ sub Commit
sub Commit {
- # DO NOT SHIFT ARGS in this subroutine. It will break any lex-
- # wrapping that extensions might do.
+ # DO NOT SHIFT @_ in this subroutine. It breaks Hook::LexWrap's
+ # ability to pass @_ to a 'post' routine.
my $self = $_[0];
my ($ret) = $self->SendMessage( $self->TemplateObj->MIMEObj );
@@ -243,8 +243,8 @@
=cut
sub SendMessage {
- # DO NOT SHIFT ARGS in this subroutine. It will break any lex-
- # wrapping that extensions might do.
+ # DO NOT SHIFT @_ in this subroutine. It breaks Hook::LexWrap's
+ # ability to pass @_ to a 'post' routine.
my ( $self, $MIMEObj ) = @_;
my $msgid = $MIMEObj->head->get('Message-ID');
More information about the Rt-commit
mailing list