enable CardFortress in test database, #71513
[freeside.git] / FS / FS / prepay_credit.pm
index c93999c..a0fd7f9 100644 (file)
@@ -1,11 +1,9 @@
 package FS::prepay_credit;
+use base qw(FS::Record);
 
 use strict;
-use vars qw( @ISA $DEBUG $me );
+use vars qw( $DEBUG $me );
 use FS::Record qw(qsearchs dbh);
-use FS::agent;
-
-@ISA = qw(FS::Record);
 
 $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.
 
-=cut
-
-sub agent {
-  my $self = shift;
-  qsearchs('agent', { 'agentnum' => $self->agentnum } );
-}
-
 =back
 
 =head1 SUBROUTINES