diff options
Diffstat (limited to 'FS/FS/part_device.pm')
-rw-r--r-- | FS/FS/part_device.pm | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/FS/FS/part_device.pm b/FS/FS/part_device.pm index 49635841e..79a534ae7 100644 --- a/FS/FS/part_device.pm +++ b/FS/FS/part_device.pm @@ -1,10 +1,8 @@ package FS::part_device; use strict; -use base qw( FS::Record FS::m2m_Common ); -use FS::Record qw( qsearch qsearchs ); -use FS::part_export; -use FS::export_device; +use base qw( FS::Record ); +use FS::Record; # qw( qsearch qsearchs ); =head1 NAME @@ -109,18 +107,6 @@ sub check { $self->SUPER::check; } -=item part_export - -Returns a list of all exports (see L<FS::part_export>) for this device. - -=cut - -sub part_export { - my $self = shift; - map { qsearchs( 'part_export', { 'exportnum' => $_->exportnum } ) } - qsearch( 'export_device', { 'devicepart' => $self->devicepart } ); -} - sub process_batch_import { my $job = shift; |