projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 75680 - telapi_voip cdr csv import
[freeside.git]
/
FS
/
FS
/
prepay_credit.pm
diff --git
a/FS/FS/prepay_credit.pm
b/FS/FS/prepay_credit.pm
index
c93999c
..
a0fd7f9
100644
(file)
--- a/
FS/FS/prepay_credit.pm
+++ b/
FS/FS/prepay_credit.pm
@@
-1,11
+1,9
@@
package FS::prepay_credit;
package FS::prepay_credit;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw(
@ISA
$DEBUG $me );
+use vars qw( $DEBUG $me );
use FS::Record qw(qsearchs dbh);
use FS::Record qw(qsearchs dbh);
-use FS::agent;
-
-@ISA = qw(FS::Record);
$DEBUG = 0;
$me = '[FS::prepay_credit]';
$DEBUG = 0;
$me = '[FS::prepay_credit]';
@@
-126,13
+124,6
@@
sub check {
Returns the agent (see L<FS::agent>) for this prepaid card, if any.
Returns the agent (see L<FS::agent>) for this prepaid card, if any.
-=cut
-
-sub agent {
- my $self = shift;
- qsearchs('agent', { 'agentnum' => $self->agentnum } );
-}
-
=back
=head1 SUBROUTINES
=back
=head1 SUBROUTINES