X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg_discount.pm;h=73c7c8bcc00e6be1a21a5e8138d03a8ee7ff9eaa;hb=e95a28ea14289ffcfa652bff9b179d3820b56242;hp=06a0fb97fa90590f6271685a1eda672390d4e805;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/FS/FS/part_pkg_discount.pm b/FS/FS/part_pkg_discount.pm index 06a0fb97f..73c7c8bcc 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