projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
72456: Directions - override company_address [context bug fix]
[freeside.git]
/
FS
/
FS
/
export_device.pm
diff --git
a/FS/FS/export_device.pm
b/FS/FS/export_device.pm
index
69e3826
..
d3795c6
100644
(file)
--- a/
FS/FS/export_device.pm
+++ b/
FS/FS/export_device.pm
@@
-1,10
+1,7
@@
package FS::export_device;
package FS::export_device;
+use base qw( FS::Record );
use strict;
use strict;
-use base qw( FS::Record );
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::part_export;
-use FS::part_device;
=head1 NAME
=head1 NAME
@@
-103,24
+100,10
@@
sub check {
Returns the FS::part_export object (see L<FS::part_export>).
Returns the FS::part_export object (see L<FS::part_export>).
-=cut
-
-sub part_export {
- my $self = shift;
- qsearchs( 'part_export', { 'exportnum' => $self->exportnum } );
-}
-
=item part_device
Returns the FS::part_device object (see L<FS::part_device>).
=item part_device
Returns the FS::part_device object (see L<FS::part_device>).
-=cut
-
-sub part_device {
- my $self = shift;
- qsearchs( 'part_device', { 'svcpart' => $self->devicepart } );
-}
-
=back
=head1 BUGS
=back
=head1 BUGS