X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FCondition%2FOverdue.pm;h=462fa407c533d5240837d063eedde3c45d2d3b92;hp=164c6e228e9d3467c6a0de8c5d953aed540effcb;hb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/rt/lib/RT/Condition/Overdue.pm b/rt/lib/RT/Condition/Overdue.pm index 164c6e228..462fa407c 100644 --- a/rt/lib/RT/Condition/Overdue.pm +++ b/rt/lib/RT/Condition/Overdue.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -59,6 +59,7 @@ Returns true if the ticket we're operating on is overdue package RT::Condition::Overdue; use base 'RT::Condition'; use strict; +use warnings; =head2 IsApplicable @@ -78,10 +79,7 @@ sub IsApplicable { } } -eval "require RT::Condition::Overdue_Vendor"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Overdue_Vendor.pm}); -eval "require RT::Condition::Overdue_Local"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Overdue_Local.pm}); +RT::Base->_ImportOverlays(); 1;