rt 3.8.11
[freeside.git] / rt / lib / RT / Groups.pm
index 4f33a4a..2ec2f79 100755 (executable)
@@ -99,22 +99,7 @@ sub NewItem {
     my $self = shift;
     return(RT::Group->new($self->CurrentUser));
 }
-
-        eval "require RT::Groups_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Groups_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Groups_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Groups_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Groups_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Groups_Local.pm}) {
-            die $@;
-        };
-
+RT::Base->_ImportOverlays();
 
 =head1 SEE ALSO