summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg_link.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-02-16 15:30:37 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-02-16 15:30:37 -0600
commit5cb958cb932ef9582e9b0e542de280f2bf26197c (patch)
treeae49024d51d6ab4d2421dd0153aa5066bb197d46 /FS/FS/part_pkg_link.pm
parent7b40e0e045368d350529d78208be0e6124f94b5a (diff)
RT#14671: Usage for current day when billing outstanding usage (for cancelling customers) [better supplemental package handling]
Diffstat (limited to 'FS/FS/part_pkg_link.pm')
-rw-r--r--FS/FS/part_pkg_link.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/FS/FS/part_pkg_link.pm b/FS/FS/part_pkg_link.pm
index 2460e99..aee0131 100644
--- a/FS/FS/part_pkg_link.pm
+++ b/FS/FS/part_pkg_link.pm
@@ -260,11 +260,6 @@ sub check {
") must be an integer multiple of main package period.";
}
}
- if (( $src_pkg->option('delay_cancel',1) && !$dst_pkg->option('delay_cancel',1) ) ||
- ( $dst_pkg->option('delay_cancel',1) && !$src_pkg->option('delay_cancel',1) )
- ) {
- return "Supplemental package must have same value as main package for automatic suspension on cancel.";
- }
}
$self->SUPER::check;