projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
export_svc.pm
diff --git
a/FS/FS/export_svc.pm
b/FS/FS/export_svc.pm
index
b08f8f7
..
5ef50b6
100644
(file)
--- a/
FS/FS/export_svc.pm
+++ b/
FS/FS/export_svc.pm
@@
-1,14
+1,10
@@
package FS::export_svc;
package FS::export_svc;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::part_export;
-use FS::part_svc;
+use FS::Record qw( dbh qsearch ); #qsearchs );
use FS::svc_export_machine;
use FS::svc_export_machine;
-@ISA = qw(FS::Record);
-
=head1 NAME
FS::export_svc - Object methods for export_svc records
=head1 NAME
FS::export_svc - Object methods for export_svc records
@@
-319,24
+315,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_svc
Returns the FS::part_svc object (see L<FS::part_svc>).
=item part_svc
Returns the FS::part_svc object (see L<FS::part_svc>).
-=cut
-
-sub part_svc {
- my $self = shift;
- qsearchs( 'part_svc', { 'svcpart' => $self->svcpart } );
-}
-
=item svc_export_machine
Returns all export hostname records (L<FS::svc_export_machine>) for this
=item svc_export_machine
Returns all export hostname records (L<FS::svc_export_machine>) for this