projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "RT# 79902 - fixed so change payment information link will still work when...
[freeside.git]
/
FS
/
FS
/
part_pkg_discount.pm
diff --git
a/FS/FS/part_pkg_discount.pm
b/FS/FS/part_pkg_discount.pm
index
2187e10
..
73c7c8b
100644
(file)
--- a/
FS/FS/part_pkg_discount.pm
+++ b/
FS/FS/part_pkg_discount.pm
@@
-1,10
+1,7
@@
package FS::part_pkg_discount;
package FS::part_pkg_discount;
+use base qw( FS::Record );
use strict;
use strict;
-use base qw( FS::Record );
-use FS::Record qw( qsearch qsearchs );
-use FS::discount;
-use FS::part_pkg;
=head1 NAME
=head1 NAME
@@
-108,13
+105,6
@@
sub check {
Returns the discount associated with this part_pkg_discount.
Returns the discount associated with this part_pkg_discount.
-=cut
-
-sub discount {
- my $self = shift;
- qsearch('discount', { 'discountnum' => $self->discountnum });
-}
-
=back
=head1 BUGS
=back
=head1 BUGS