[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-241-g36b892f
Shawn Moore
sartak at bestpractical.com
Tue Nov 2 18:42:13 EDT 2010
The branch, 3.9-trunk has been updated
via 36b892f849cee3d0fbc947d2cf3fd05c75bb2037 (commit)
from 1317d8396d14b4eb8303bc81869b652e6cfe4452 (commit)
Summary of changes:
sbin/rt-email-dashboards.in | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 36b892f849cee3d0fbc947d2cf3fd05c75bb2037
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Nov 2 18:06:48 2010 -0400
Don't loc debug messages in email-dashboards
diff --git a/sbin/rt-email-dashboards.in b/sbin/rt-email-dashboards.in
index 995e82f..1f89df4 100644
--- a/sbin/rt-email-dashboards.in
+++ b/sbin/rt-email-dashboards.in
@@ -117,10 +117,10 @@ $HTML::Mason::Commands::r = RT::Dashboard::FakeRequest->new;
no warnings 'once';
# helper functions
-sub verbose { print loc(@_), "\n" if $opts{debug} || $opts{verbose}; 1 }
-sub debug { print loc(@_), "\n" if $opts{debug}; 1 }
-sub error { $RT::Logger->error(loc(@_)); verbose(@_); 1 }
-sub warning { $RT::Logger->warning(loc(@_)); verbose(@_); 1 }
+sub verbose { print @_, "\n" if $opts{debug} || $opts{verbose}; 1 }
+sub debug { print @_, "\n" if $opts{debug}; 1 }
+sub error { $RT::Logger->error(@_); verbose(@_); 1 }
+sub warning { $RT::Logger->warning(@_); verbose(@_); 1 }
my $now = $opts{epoch} || time;
verbose "Using time [_1]", scalar localtime($now);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list