stray closing /TABLE in the no-ticket case
[freeside.git] / FS / FS / legacy_cust_bill.pm
index b2bfeaa..6b43c2f 100644 (file)
@@ -1,9 +1,7 @@
 package FS::legacy_cust_bill;
+use base qw( FS::Record );
 
 use strict;
-use base qw( FS::Record );
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main;
 
 =head1 NAME
 
@@ -144,13 +142,6 @@ sub check {
 
 Returns the customer (see L<FS::cust_main>) for this invoice.
 
-=cut
-
-sub cust_main {
-  my $self = shift;
-  qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-}
-
 =back
 
 =head1 BUGS