[Rt-commit] r14312 - in rt/branches/3.999-DANGEROUS: etc lib/RT/ScripAction
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Jul 18 23:13:05 EDT 2008
Author: sunnavy
Date: Fri Jul 18 23:13:05 2008
New Revision: 14312
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/etc/RT_Config.pm
rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm
rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm
rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm
Log:
r14745 at sunnavys-mb: sunnavy | 2008-07-19 10:12:06 +0800
$RT::...Friendly... => $RT::...friendly_...
Modified: rt/branches/3.999-DANGEROUS/etc/RT_Config.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/etc/RT_Config.pm (original)
+++ rt/branches/3.999-DANGEROUS/etc/RT_Config.pm Fri Jul 18 23:13:05 2008
@@ -450,25 +450,25 @@
set($comment_address , '');
-=item C<UseFriendlyFromLine>
+=item C<use_friendly_from_line>
By default, RT sets the outgoing mail's "From:" header to
-"SenderName via RT". Setting C<$UseFriendlyFromLine> to 0 disables it.
+"SenderName via RT". Setting C<$use_friendly_from_line> to 0 disables it.
=cut
-set($UseFriendlyFromLine, 1);
+set($use_friendly_from_line, 1);
-=item C<$FriendlyFromLineFormat>
+=item C<$friendly_from_line_format>
C<sprintf()> format of the friendly 'From:' header; its arguments
are SenderName and SenderEmailAddress.
=cut
-set($FriendlyFromLineFormat, "\"%s via RT\" <%s>");
+set($friendly_from_line_format, "\"%s via RT\" <%s>");
-=item C<$UseFriendlyToLine>
+=item C<$use_friendly_to_line>
RT can optionally set a "Friendly" 'To:' header when sending messages to
Ccs or AdminCcs (rather than having a blank 'To:' header.
@@ -479,16 +479,16 @@
=cut
-set($UseFriendlyToLine, 0);
+set($use_friendly_to_line, 0);
-=item C<$FriendlyToLineFormat>
+=item C<$friendly_to_line_format>
C<sprintf()> format of the friendly 'From:' header; its arguments
are WatcherType and TicketId.
=cut
-set($FriendlyToLineFormat, "\"%s of ". RT->config->get('rtname') ." Ticket #%s\":;");
+set($friendly_to_line_format, "\"%s of ". RT->config->get('rtname') ." Ticket #%s\":;");
=item C<$NotifyActor>
Modified: rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm Fri Jul 18 23:13:05 2008
@@ -106,7 +106,7 @@
}
unless ( $self->template_obj->mime_obj->head->get('From') ) {
- if ( RT->config->get('UseFriendlyFromLine') ) {
+ if ( RT->config->get('use_friendly_from_line') ) {
my $friendly_name = $self->ticket_obj->queue_obj->description
|| $self->ticket_obj->queue_obj->name;
$friendly_name =~ s/"/\\"/g;
Modified: rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm Fri Jul 18 23:13:05 2008
@@ -123,7 +123,7 @@
push( @Bcc, $ticket->queue_obj->role_group("admin_cc")->member_emails );
}
- if ( RT->config->get('UseFriendlyToLine') ) {
+ if ( RT->config->get('use_friendly_to_line') ) {
unless (@To) {
push @PseudoTo, sprintf RT->config->get('friendly_to_line_format'), $arg, $ticket->id;
}
Modified: rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm Fri Jul 18 23:13:05 2008
@@ -722,7 +722,7 @@
}
unless ( $self->template_obj->mime_obj->head->get('From') ) {
- if ( RT->config->get('UseFriendlyFromLine') ) {
+ if ( RT->config->get('use_friendly_from_line') ) {
my $friendly_name = $self->transaction_obj->creator_obj->friendly_name;
if ( $friendly_name =~ /^"(.*)"$/ ) { # a quoted string
$friendly_name = $1;
More information about the Rt-commit
mailing list