diff options
Diffstat (limited to 'rt/lib/RT/Attachments.pm')
-rwxr-xr-x | rt/lib/RT/Attachments.pm | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/rt/lib/RT/Attachments.pm b/rt/lib/RT/Attachments.pm index 93c9445f6..40f25e435 100755 --- a/rt/lib/RT/Attachments.pm +++ b/rt/lib/RT/Attachments.pm @@ -99,24 +99,7 @@ sub NewItem { my $self = shift; return(RT::Attachment->new($self->CurrentUser)); } - - eval "require RT::Attachments_Overlay"; - if ($@ && $@ !~ qr{^Can't locate RT/Attachments_Overlay.pm}) { - die $@; - }; - - eval "require RT::Attachments_Vendor"; - if ($@ && $@ !~ qr{^Can't locate RT/Attachments_Vendor.pm}) { - die $@; - }; - - eval "require RT::Attachments_Local"; - if ($@ && $@ !~ qr{^Can't locate RT/Attachments_Local.pm}) { - die $@; - }; - - - +RT::Base->_ImportOverlays(); =head1 SEE ALSO |