[Rt-commit] r12534 - in rt/branches/3.8-TESTING: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon May 19 12:11:03 EDT 2008
Author: sartak
Date: Mon May 19 12:11:02 2008
New Revision: 12534
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/sbin/rt-email-dashboards.in
Log:
r56358 at onn: sartak | 2008-05-19 12:10:39 -0400
Little cleanups in rt-email-dashboards.in
Modified: rt/branches/3.8-TESTING/sbin/rt-email-dashboards.in
==============================================================================
--- rt/branches/3.8-TESTING/sbin/rt-email-dashboards.in (original)
+++ rt/branches/3.8-TESTING/sbin/rt-email-dashboards.in Mon May 19 12:11:02 2008
@@ -203,16 +203,10 @@
return;
}
- # get dashboard here
- my $path = sprintf '/Prefs/Dashboards/Render.html?id=%d&Privacy=%s',
- $dashboard->Id,
- $dashboard->Privacy;
-
$HTML::Mason::Commands::session{CurrentUser} = $currentuser;
my $contents = run_component(
'/Prefs/Dashboards/Render.html',
id => $dashboard->Id,
- Privacy => $dashboard->Privacy,
);
for (@{ RT->Config->Get('EmailDashboardRemove') || [] }) {
@@ -223,7 +217,7 @@
$contents = HTML::RewriteAttributes::Links->rewrite(
$contents,
- RT->Config->Get('WebURL') . $path,
+ RT->Config->Get('WebURL') . '/Prefs/Dashboards/Render.html',
);
send_mail($currentuser, $dashboard, $subscription, $contents);
@@ -348,7 +342,6 @@
}
}
-# this code is partially taken from 3.7
{
my %cache;
More information about the Rt-commit
mailing list