diff options
Diffstat (limited to 'rt/lib/RT/ObjectCustomFieldValues.pm')
-rw-r--r-- | rt/lib/RT/ObjectCustomFieldValues.pm | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/rt/lib/RT/ObjectCustomFieldValues.pm b/rt/lib/RT/ObjectCustomFieldValues.pm index 25d5a487d..ca1ed0833 100644 --- a/rt/lib/RT/ObjectCustomFieldValues.pm +++ b/rt/lib/RT/ObjectCustomFieldValues.pm @@ -110,24 +110,7 @@ sub NewItem { my $self = shift; return(RT::ObjectCustomFieldValue->new($self->CurrentUser)); } - - eval "require RT::ObjectCustomFieldValues_Overlay"; - if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValues_Overlay.pm}) { - die $@; - }; - - eval "require RT::ObjectCustomFieldValues_Vendor"; - if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValues_Vendor.pm}) { - die $@; - }; - - eval "require RT::ObjectCustomFieldValues_Local"; - if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValues_Local.pm}) { - die $@; - }; - - - +RT::Base->_ImportOverlays(); =head1 SEE ALSO |