diff options
Diffstat (limited to 'FS/FS/part_pkg_discount.pm')
-rw-r--r-- | FS/FS/part_pkg_discount.pm | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/FS/FS/part_pkg_discount.pm b/FS/FS/part_pkg_discount.pm index 06a0fb9..73c7c8b 100644 --- a/FS/FS/part_pkg_discount.pm +++ b/FS/FS/part_pkg_discount.pm @@ -1,10 +1,7 @@ package FS::part_pkg_discount; +use base qw( FS::Record ); use strict; -use base qw( FS::Record ); -use FS::Record qw( qsearch qsearchs ); -use FS::discount; -use FS::part_pkg; =head1 NAME @@ -108,13 +105,6 @@ sub check { Returns the discount associated with this part_pkg_discount. -=cut - -sub discount { - my $self = shift; - qsearchs('discount', { 'discountnum' => $self->discountnum }); -} - =back =head1 BUGS |