[Rt-commit] r2934 - in rt/branches/3.4-RELEASE: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Mon May 23 15:30:16 EDT 2005


Author: jesse
Date: Mon May 23 15:30:16 2005
New Revision: 2934

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
Log:
 r17671 at hualien:  jesse | 2005-05-23 14:21:54 -0400
 * Since EmailParser _might_ be used out of Interface::Email context, require Interface::Email.


Modified: rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm	Mon May 23 15:30:16 2005
@@ -277,6 +277,8 @@
 sub ParseTicketId {
     my $self = shift;
     $RT::Logger->warnings("RT::EmailParser->ParseTicketId deprecated. You should be using RT::Interface::Email");
+
+    require RT::Interface::Email;
     RT::Interface::Email::ParseTicketId(@_);
 }
 


More information about the Rt-commit mailing list