X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FCondition%2FUserDefined.pm;h=6cd7313ef59e5a253d16519adf53ad4abc1393a0;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=2d5b41d6a813d90f33dbf4c628b78402b4a70115;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/lib/RT/Condition/UserDefined.pm b/rt/lib/RT/Condition/UserDefined.pm index 2d5b41d6a..6cd7313ef 100644 --- a/rt/lib/RT/Condition/UserDefined.pm +++ b/rt/lib/RT/Condition/UserDefined.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -49,6 +49,7 @@ package RT::Condition::UserDefined; use base 'RT::Condition'; use strict; +use warnings; =head2 IsApplicable @@ -68,10 +69,7 @@ sub IsApplicable { return ($retval); } -eval "require RT::Condition::UserDefined_Vendor"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/UserDefined_Vendor.pm}); -eval "require RT::Condition::UserDefined_Local"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/UserDefined_Local.pm}); +RT::Base->_ImportOverlays(); 1;