From: ivan Date: Thu, 20 Jan 2011 05:23:23 +0000 (+0000) Subject: fix cancelling services on exspirations, RT#11269 X-Git-Tag: freeside_2_1_2~124 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=a893c2453be971b85d6e85edbfaf35965022a319;p=freeside.git fix cancelling services on exspirations, RT#11269 --- diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 74698c427..ba525f8ed 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -782,9 +782,6 @@ sub cancel { ) { my $remaining_value = $self->calc_remain('time' => $cancel_time); if ( $remaining_value > 0 ) { - # && !$options{'no_credit'} ) { - # Undocumented, unused option. - # part_pkg configuration should decide this anyway. my $error = $self->cust_main->credit( $remaining_value, 'Credit for unused time on '. $self->part_pkg->pkg,