diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-12-28 16:11:46 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-12-28 16:11:46 -0800 |
commit | 32072dbf59a054529f5304574c0f56f9567d14d0 (patch) | |
tree | eaca19adc8da8daf4b0eaaed1a16c3a8e5a53cb0 /FS/FS/part_pkg_vendor.pm | |
parent | 66c235e33563ccd785ff9e0828398f778a75fb9f (diff) |
autoload methods returning foreign records, RT#13971
Diffstat (limited to 'FS/FS/part_pkg_vendor.pm')
-rw-r--r-- | FS/FS/part_pkg_vendor.pm | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/FS/FS/part_pkg_vendor.pm b/FS/FS/part_pkg_vendor.pm index 6b91f75..bb37f1b 100644 --- a/FS/FS/part_pkg_vendor.pm +++ b/FS/FS/part_pkg_vendor.pm @@ -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 |