X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Flib%2FRT%2FAction%2FAutoreply.pm;h=9bf6ab6d3e4f6413e9249a6d19b4ae3f77ce0255;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hp=e3e792ea7f0ab2f1d53122f31c2a08ab73d180f3;hpb=75162bb14b3e38d66617077843f4dfdcaf09d5c4;p=freeside.git diff --git a/rt/lib/RT/Action/Autoreply.pm b/rt/lib/RT/Action/Autoreply.pm index e3e792ea7..9bf6ab6d3 100755 --- a/rt/lib/RT/Action/Autoreply.pm +++ b/rt/lib/RT/Action/Autoreply.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -66,7 +66,6 @@ sub Prepare { $self->SUPER::Prepare(); } -# {{{ sub SetRecipients =head2 SetRecipients @@ -83,34 +82,30 @@ sub SetRecipients { return(1); } -# }}} -# {{{ sub SetReturnAddress =head2 SetReturnAddress -Set this message\'s return address to the apropriate queue address +Set this message's return address to the apropriate queue address =cut sub SetReturnAddress { my $self = shift; - + my $friendly_name; - if (RT->Config->Get('UseFriendlyFromLine')) { - $friendly_name = $self->TicketObj->QueueObj->Description || - $self->TicketObj->QueueObj->Name; - } + if (RT->Config->Get('UseFriendlyFromLine')) { + $friendly_name = $self->TicketObj->QueueObj->Description || + $self->TicketObj->QueueObj->Name; + } $self->SUPER::SetReturnAddress( @_, friendly_name => $friendly_name ); - + } - -# }}} -# {{{{ sub SetRTSpecialHeaders + =head2 SetRTSpecialHeaders @@ -125,7 +120,6 @@ sub SetRTSpecialHeaders { $self->SetHeader( 'Auto-Submitted', 'auto-replied' ); } -# }}} RT::Base->_ImportOverlays();