summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-01-20 05:23:23 +0000
committerivan <ivan>2011-01-20 05:23:23 +0000
commita893c2453be971b85d6e85edbfaf35965022a319 (patch)
tree85fbf85b4990ce272047e7537f6621d6b3d20b12
parent505d7475981cf60649242c17d6f9e7fffb17852d (diff)
fix cancelling services on exspirations, RT#11269
-rw-r--r--FS/FS/cust_pkg.pm3
1 files changed, 0 insertions, 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,