[Rt-commit] r8879 - rt/branches/3.7-EXPERIMENTAL/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Mon Sep 3 09:15:34 EDT 2007
Author: ruz
Date: Mon Sep 3 09:15:33 2007
New Revision: 8879
Modified:
rt/branches/3.7-EXPERIMENTAL/lib/RT/EmailParser.pm
Log:
* upcoming version of MIME::Parser has no 'tmp_recycling' method
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/EmailParser.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/EmailParser.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/EmailParser.pm Mon Sep 3 09:15:33 2007
@@ -570,7 +570,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