[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-80-g17f46e8

sartak at bestpractical.com sartak at bestpractical.com
Fri Nov 6 15:52:24 EST 2009


The branch, 3.8-trunk has been updated
       via  17f46e8a81158500003451964240670d819e5e54 (commit)
      from  d3e08429723d85804365820f08e00d26173f08bf (commit)

Summary of changes:
 lib/RT/Test.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 17f46e8a81158500003451964240670d819e5e54
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Fri Nov 6 15:52:06 2009 -0500

    Avoid redefine warnings

diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index 2f04a93..34e5fae 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -267,6 +267,7 @@ sub set_config_wrapper {
     my $self = shift;
 
     my $old_sub = \&RT::Config::Set;
+    no warnings 'redefine';
     *RT::Config::Set = sub {
         my @caller = caller;
         if ( ($caller[1]||'') =~ /\.t$/ ) {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list