[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-532-g2b29015
Shawn Moore
sartak at bestpractical.com
Fri Nov 19 15:05:35 EST 2010
The branch, 3.9-trunk has been updated
via 2b29015358c956ddaebfcc68cc13392a19366ac8 (commit)
from fc44d12fe4af1b972d50ff7259c4a3c6299c89a0 (commit)
Summary of changes:
sbin/rt-email-dashboards.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 2b29015358c956ddaebfcc68cc13392a19366ac8
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Fri Nov 19 15:05:11 2010 -0500
Move the mail log to just before we do mail the dashboard
diff --git a/sbin/rt-email-dashboards.in b/sbin/rt-email-dashboards.in
index 0827fe9..0b7a6fc 100644
--- a/sbin/rt-email-dashboards.in
+++ b/sbin/rt-email-dashboards.in
@@ -268,8 +268,6 @@ SUMMARY
sub email_dashboard {
my ($currentuser, $email, $dashboard, $subscription, $content) = @_;
- $RT::Logger->info('Mailing dashboard "'.$dashboard->Name.'" to user '.$currentuser->Name.' <'.$email.'>');
-
my $subject = sprintf '[%s] ' . RT->Config->Get('DashboardSubject'),
RT->Config->Get('rtname'),
ucfirst($subscription->SubValue('Frequency')),
@@ -277,6 +275,8 @@ sub email_dashboard {
my $entity = build_email($content, $from, $email, $subject);
+ $RT::Logger->info('Mailing dashboard "'.$dashboard->Name.'" to user '.$currentuser->Name.' <'.$email.'>');
+
my $ok = RT::Interface::Email::SendEmail(
Entity => $entity,
);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list