diff options
Diffstat (limited to 'rt/lib/RT/Condition/Generic.pm')
-rwxr-xr-x | rt/lib/RT/Condition/Generic.pm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/rt/lib/RT/Condition/Generic.pm b/rt/lib/RT/Condition/Generic.pm index 6032427f1..a3bfa7585 100755 --- a/rt/lib/RT/Condition/Generic.pm +++ b/rt/lib/RT/Condition/Generic.pm @@ -68,13 +68,7 @@ use warnings; package RT::Condition::Generic; use base 'RT::Condition'; -eval "require RT::Condition::Generic_Vendor"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Vendor.pm}); -warn "RT::Condition::Generic has become RT::Condition. Please adjust your RT::Condition::Generic_Vendor file at " . $INC{"RT/Condition/Generic_Vendor.pm"} if !$@; - -eval "require RT::Condition::Generic_Local"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Local.pm}); -warn "RT::Condition::Generic has become RT::Condition. Please adjust your RT::Condition::Generic_Local file at " . $INC{"RT/Condition/Generic_Local.pm"} if !$@; +RT::Base->_ImportOverlays(); 1; |