[Rt-commit] r9152 - in rt/branches/3.6-RELEASE: .

jesse at bestpractical.com jesse at bestpractical.com
Wed Sep 26 00:43:24 EDT 2007


Author: jesse
Date: Wed Sep 26 00:43:10 2007
New Revision: 9152

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/lib/RT/EmailParser.pm

Log:
 r67594 at pinglin:  jesse | 2007-09-26 00:42:44 -0400
  MIME::Tools removed a method from their public API. this works around it


Modified: rt/branches/3.6-RELEASE/lib/RT/EmailParser.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/EmailParser.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/EmailParser.pm	Wed Sep 26 00:43:10 2007
@@ -615,7 +615,7 @@
     # Turns out that the default is to recycle tempfiles
     # Temp files should never be recycled, especially when running under perl taint checking
     
-    $parser->tmp_recycling(0);
+    $parser->tmp_recycling(0) if $parser->can('tmp_recycling');
 
 }
 


More information about the Rt-commit mailing list