[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-222-gb6ed575

Alex M Vandiver alexmv at bestpractical.com
Thu Oct 1 15:46:06 EDT 2009


The branch, 3.8-trunk has been updated
       via  b6ed575ae75c1bf86608beefdf05bc67b8e5a95a (commit)
      from  99b23c4831ff1bcbd54c4460ff605f29f86b7fb3 (commit)

Summary of changes:
 lib/RT/Config.pm |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit b6ed575ae75c1bf86608beefdf05bc67b8e5a95a
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Oct 1 15:45:59 2009 -0400

    Remove debugging statement

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index fabe758..5eb7b1e 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -345,10 +345,8 @@ our %META = (
         Type            => 'SCALAR',
         PostLoadCheck   => sub {
             my ($self,$value) = @_;
-            $RT::Logger->error("got $value for organization");
-            if ($value =~ /\s/) {
-                $RT::Logger->error("your \$Organization setting ($value) appears to contain whitespace.  Please fix this.");
-            }
+            $RT::Logger->error("your \$Organization setting ($value) appears to contain whitespace.  Please fix this.")
+                if $value =~ /\s/;;
         },
     },
 

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


More information about the Rt-commit mailing list