[freeside-commits] branch master updated. 29302d859b546f27061bcaf9d91c982df2ac1a27

Jonathan Prykop jonathan at 420.am
Thu Aug 6 21:12:45 PDT 2015


The branch, master has been updated
       via  29302d859b546f27061bcaf9d91c982df2ac1a27 (commit)
      from  83fef36304dae4f46748ba21d62cba606d8e88f0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 29302d859b546f27061bcaf9d91c982df2ac1a27
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Thu Aug 6 23:11:20 2015 -0500

    RT#18361: Delay package from billing until services are provisioned [rename method]

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

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_svc.pm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list