[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-70-gdfa739a
Ruslan Zakirov
ruz at bestpractical.com
Sat Jan 2 16:06:51 EST 2010
The branch, 3.8-trunk has been updated
via dfa739a713b0a7d933a6ec1fd487ac0195f1af28 (commit)
from c5640d30c01677fb830903ac60695379d29c28db (commit)
Summary of changes:
lib/RT/Action/NotifyAsComment.pm | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit dfa739a713b0a7d933a6ec1fd487ac0195f1af28
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Sat Jan 2 15:04:16 2010 +0300
* pass through arguments of SetReturnAddress
diff --git a/lib/RT/Action/NotifyAsComment.pm b/lib/RT/Action/NotifyAsComment.pm
index b2eb5ac..4380c86 100755
--- a/lib/RT/Action/NotifyAsComment.pm
+++ b/lib/RT/Action/NotifyAsComment.pm
@@ -47,27 +47,27 @@
# END BPS TAGGED BLOCK }}}
package RT::Action::NotifyAsComment;
-require RT::Action::Notify;
use strict;
use warnings;
+
use base qw(RT::Action::Notify);
=head2 SetReturnAddress
-Tell SendEmail that this message should come out as a comment.
+Tell SendEmail that this message should come out as a comment.
Calls SUPER::SetReturnAddress.
=cut
sub SetReturnAddress {
- my $self = shift;
-
- # Tell RT::Action::SendEmail that this should come
- # from the relevant comment email address.
- $self->{'comment'} = 1;
-
- return($self->SUPER::SetReturnAddress(is_comment => 1));
+ my $self = shift;
+
+ # Tell RT::Action::SendEmail that this should come
+ # from the relevant comment email address.
+ $self->{'comment'} = 1;
+
+ return $self->SUPER::SetReturnAddress( @_, is_comment => 1 );
}
eval "require RT::Action::NotifyAsComment_Vendor";
@@ -76,4 +76,3 @@ eval "require RT::Action::NotifyAsComment_Local";
die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/NotifyAsComment_Local.pm});
1;
-
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list