autoload methods returning foreign records, RT#13971
[freeside.git] / FS / FS / part_pkg_vendor.pm
index 6b91f75..bb37f1b 100644 (file)
@@ -1,8 +1,7 @@
 package FS::part_pkg_vendor;
+use base qw( FS::Record );
 
 use strict;
-use base qw( FS::Record );
-use FS::Record qw( qsearch qsearchs );
 
 =head1 NAME
 
@@ -122,12 +121,6 @@ sub check {
 
 Returns the L<FS::part_export> associated with this vendor/external package id.
 
-=cut
-sub part_export {
-    my $self = shift;
-    qsearchs( 'part_export', { 'exportnum' => $self->exportnum } );
-}
-
 =back
 
 =head1 SEE ALSO