X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FAttributes.pm;h=4725b5e8974013f43ea371f147e6e821be0c9b41;hb=30ef568f955526b259892399ba7432dbfce46347;hp=320cb8dd3aaa6c10aec2e60202cca973bcfd53c6;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/lib/RT/Attributes.pm b/rt/lib/RT/Attributes.pm index 320cb8dd3..4725b5e89 100644 --- a/rt/lib/RT/Attributes.pm +++ b/rt/lib/RT/Attributes.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -99,24 +99,7 @@ sub NewItem { my $self = shift; return(RT::Attribute->new($self->CurrentUser)); } - - eval "require RT::Attributes_Overlay"; - if ($@ && $@ !~ qr{^Can't locate RT/Attributes_Overlay.pm}) { - die $@; - }; - - eval "require RT::Attributes_Vendor"; - if ($@ && $@ !~ qr{^Can't locate RT/Attributes_Vendor.pm}) { - die $@; - }; - - eval "require RT::Attributes_Local"; - if ($@ && $@ !~ qr{^Can't locate RT/Attributes_Local.pm}) { - die $@; - }; - - - +RT::Base->_ImportOverlays(); =head1 SEE ALSO