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/export_nas.pm | |
parent | 66c235e33563ccd785ff9e0828398f778a75fb9f (diff) |
autoload methods returning foreign records, RT#13971
Diffstat (limited to 'FS/FS/export_nas.pm')
-rw-r--r-- | FS/FS/export_nas.pm | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/FS/FS/export_nas.pm b/FS/FS/export_nas.pm index 5282503..3e5b841 100644 --- a/FS/FS/export_nas.pm +++ b/FS/FS/export_nas.pm @@ -1,9 +1,8 @@ package FS::export_nas; +use base qw( FS::Record ); use strict; use vars qw($noexport_hack); -use base qw( FS::Record ); -use FS::Record qw( qsearch qsearchs ); $noexport_hack = ''; @@ -125,16 +124,6 @@ sub check { $self->SUPER::check; } -sub part_export { - my $self = shift; - qsearchs('part_export', { 'exportnum' => $self->exportnum }); -} - -sub nas { - my $self = shift; - qsearchs('nas', { 'nasnum' => $self->nasnum }); -} - =back =head1 BUGS |