From 45cd27b19e8ad50f835915746fb89e486cbb69c0 Mon Sep 17 00:00:00 2001 From: Rob Van Dam Date: Thu, 7 Nov 2013 15:06:33 -0700 Subject: [PATCH] Removed passing of import flag now that it is global in cust_pkg.pm --- FS/FS/cust_main/Packages.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/FS/FS/cust_main/Packages.pm b/FS/FS/cust_main/Packages.pm index a7418f7f0..f819970fd 100644 --- a/FS/FS/cust_main/Packages.pm +++ b/FS/FS/cust_main/Packages.pm @@ -87,7 +87,7 @@ sub order_pkg { if exists($opt->{'depend_jobnum'}) && $opt->{'depend_jobnum'}; my %insert_params = map { $opt->{$_} ? ( $_ => $opt->{$_} ) : () } - qw( ticket_subject ticket_queue allow_pkgpart import ); + qw( ticket_subject ticket_queue allow_pkgpart ); local $SIG{HUP} = 'IGNORE'; local $SIG{INT} = 'IGNORE'; @@ -226,8 +226,7 @@ Services can be new, in which case they are inserted, or existing unaudited services, in which case they are linked to the newly-created package. Currently available options are: I, I, I, -I, I, I, I, and -I. +I, I, I, and I. If I is set, all provisioning jobs will have a dependancy on the supplied jobnum (they will not run until the specific job completes). @@ -244,7 +243,7 @@ If I, I, I, or I is provided, the scalars (provided by references) will be incremented by the values of the prepaid card.` -I and I are flags passed to L->insert. +I is passed to L->insert. =cut @@ -278,7 +277,7 @@ sub order_pkgs { 'cust_pkg' => $cust_pkg, 'svcs' => $cust_pkgs->{$cust_pkg}, map { $_ => $options{$_} } - qw( seconds_ref upbytes_ref downbytes_ref totalbytes_ref depend_jobnum allow_pkgpart import ) + qw( seconds_ref upbytes_ref downbytes_ref totalbytes_ref depend_jobnum allow_pkgpart ) ); if ( $error ) { $dbh->rollback if $oldAutoCommit; -- 2.11.0