projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd1a490
)
RT#14671 [documentation changes only]
author
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 13 Mar 2015 01:16:25 +0000
(20:16 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 13 Mar 2015 01:16:25 +0000
(20:16 -0500)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
5bb3d2a
..
efe35ef
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-785,14
+785,9
@@
to a different pkgpart or location, and probably shouldn't be in any other
case. If it's not set, the 'unused_credit_cancel' part_pkg option will
be used.
case. If it's not set, the 'unused_credit_cancel' part_pkg option will
be used.
-=item delay_cancel - for internal use, to allow proper handling of
-supplemental packages when the main package is flagged to suspend
-before cancelling, probably shouldn't be used otherwise (set the
-corresponding package option instead)
-
-=item no_delay_cancel - for internal use, prevents delay_cancel behavior
+=item no_delay_cancel - prevents delay_cancel behavior
no matter what other options say, for use when changing packages (or any
no matter what other options say, for use when changing packages (or any
-other time you're really sure you want an
unadulterated
cancel)
+other time you're really sure you want an
immediate
cancel)
=back
=back
@@
-800,6
+795,12
@@
If there is an error, returns the error, otherwise returns false.
=cut
=cut
+#NOT DOCUMENTING - this should only be used when calling recursively
+#=item delay_cancel - for internal use, to allow proper handling of
+#supplemental packages when the main package is flagged to suspend
+#before cancelling, probably shouldn't be used otherwise (set the
+#corresponding package option instead)
+
sub cancel {
my( $self, %options ) = @_;
my $error;
sub cancel {
my( $self, %options ) = @_;
my $error;