[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-954-g760d1da
Shawn Moore
sartak at bestpractical.com
Mon Dec 20 15:48:53 EST 2010
The branch, 3.9-trunk has been updated
via 760d1da77a9fd499590f0ba61d6c01c042df2733 (commit)
from 62ff36fa6d7b09b8f316da26f1e24288c409f316 (commit)
Summary of changes:
sbin/rt-attributes-viewer.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 760d1da77a9fd499590f0ba61d6c01c042df2733
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Mon Dec 20 15:19:26 2010 -0500
No need to turn off once warnings now that SystemUser is a method
diff --git a/sbin/rt-attributes-viewer.in b/sbin/rt-attributes-viewer.in
index b8f25ae..988dd20 100644
--- a/sbin/rt-attributes-viewer.in
+++ b/sbin/rt-attributes-viewer.in
@@ -90,7 +90,7 @@ RT::LoadConfig();
RT::Init();
require RT::Attribute;
-my $attr = RT::Attribute->new( do { no warnings 'once'; RT->SystemUser } );
+my $attr = RT::Attribute->new( RT->SystemUser );
$attr->Load( $id );
unless ( $attr->id ) {
print STDERR "Couldn't load attribute #$id\n";
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list