From a893c2453be971b85d6e85edbfaf35965022a319 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 20 Jan 2011 05:23:23 +0000 Subject: fix cancelling services on exspirations, RT#11269 --- FS/FS/cust_pkg.pm | 3 --- 1 file changed, 3 deletions(-) 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, -- cgit v1.2.1