projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 79353 Update discount graph - include waived setup fees
[freeside.git]
/
FS
/
FS
/
reg_code_pkg.pm
diff --git
a/FS/FS/reg_code_pkg.pm
b/FS/FS/reg_code_pkg.pm
index
837b755
..
f438f67
100644
(file)
--- a/
FS/FS/reg_code_pkg.pm
+++ b/
FS/FS/reg_code_pkg.pm
@@
-1,12
+1,7
@@
package FS::reg_code_pkg;
package FS::reg_code_pkg;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw( @ISA );
-use FS::Record qw(qsearchs);
-use FS::reg_code;
-use FS::part_pkg;
-
-@ISA = qw(FS::Record);
=head1 NAME
=head1 NAME
@@
-115,13
+110,6
@@
sub check {
Returns the package definition (see L<FS::part_pkg>)
Returns the package definition (see L<FS::part_pkg>)
-=cut
-
-sub part_pkg {
- my $self = shift;
- qsearchs('part_pkg', { 'pkgpart' => $self->pkgpart } );
-}
-
=back
=head1 BUGS
=back
=head1 BUGS