X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pay.pm;h=7abbe9a3b84adbeb5d8186ac5ea39415613d1566;hp=f0cb1329644581a408f90199bd00c7293d7d974f;hb=649ceeca76084d16d22013124bd7f80f053d75c4;hpb=157e8bdba110b7aac022bd2c2f7b377d3c5b2f85 diff --git a/FS/FS/cust_bill_pay.pm b/FS/FS/cust_bill_pay.pm index f0cb13296..7abbe9a3b 100644 --- a/FS/FS/cust_bill_pay.pm +++ b/FS/FS/cust_bill_pay.pm @@ -70,21 +70,6 @@ sub table { 'cust_bill_pay'; } Adds this record to the database. If there is an error, returns the error, otherwise returns false. -=cut - -sub insert { - my $self = shift; - my $error = $self->SUPER::insert; - return $error if $error; - - if ( $conf->exists('invoice_send_receipts') ) { - my $send_error = $self->cust_bill->send; - warn "Error sending receipt: $send_error\n" if $send_error; - } - - ''; -} - =item delete Deletes this payment application, unless the closed flag for the parent payment