summaryrefslogtreecommitdiff
path: root/FS/FS/cust_svc.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-08-06 23:11:20 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-08-06 23:17:28 -0500
commit8adb02e89430ddfe7308ed646baccc1407be7de9 (patch)
tree82081682bb67b3087dbbfefe8e262e712040ab30 /FS/FS/cust_svc.pm
parent4cfd400b382dc16715f33a3ffc1a127db97542a4 (diff)
RT#18361: Delay package from billing until services are provisioned [rename method]
Diffstat (limited to 'FS/FS/cust_svc.pm')
-rw-r--r--FS/FS/cust_svc.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/cust_svc.pm b/FS/FS/cust_svc.pm
index c5099fc..974af67 100644
--- a/FS/FS/cust_svc.pm
+++ b/FS/FS/cust_svc.pm
@@ -121,7 +121,7 @@ sub insert {
my $error = $self->SUPER::insert;
#check if this releases a hold (see FS::pkg_svc provision_hold)
- $error ||= $self->_provision_hold;
+ $error ||= $self->_check_provision_hold;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
@@ -460,7 +460,7 @@ sub replace {
} # if this is a location change
#check if this releases a hold (see FS::pkg_svc provision_hold)
- $error ||= $new->_provision_hold;
+ $error ||= $new->_check_provision_hold;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
@@ -1246,7 +1246,7 @@ sub smart_search_param {
# then removes hold from pkg
# returns $error or '' on success,
# does not indicate if pkg status was changed
-sub _provision_hold {
+sub _check_provision_hold {
my $self = shift;
# check status of cust_pkg