X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Flegacy_cust_bill.pm;h=38f9485c5f4bcd9cdd450d8462b5d7dcf90c31dc;hb=772656864b377bbd2ef2febd40891ef1206b5be0;hp=b2bfeaaad0f4569b52725f88ea33ceb12104ad1e;hpb=75769d888d9c306d5d5ccde3260c0267268cf4ed;p=freeside.git diff --git a/FS/FS/legacy_cust_bill.pm b/FS/FS/legacy_cust_bill.pm index b2bfeaaad..38f9485c5 100644 --- a/FS/FS/legacy_cust_bill.pm +++ b/FS/FS/legacy_cust_bill.pm @@ -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 @@ -47,7 +45,7 @@ Invoice number or identifier from previous system =item custnum -Customer (see L) =item _date @@ -144,13 +142,6 @@ sub check { Returns the customer (see L) for this invoice. -=cut - -sub cust_main { - my $self = shift; - qsearchs( 'cust_main', { 'custnum' => $self->custnum } ); -} - =back =head1 BUGS