summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI/Signup.pm
diff options
context:
space:
mode:
authorjeff <jeff>2010-06-13 05:59:53 +0000
committerjeff <jeff>2010-06-13 05:59:53 +0000
commit89a81f5a2daf31f47a263c4ffc27f0fc36ac26f5 (patch)
treeed10890267f50734b45b3e34bed250c1c251b871 /FS/FS/ClientAPI/Signup.pm
parent4e2b0b934d568e9b512bc45bf684bf5f23ae63b6 (diff)
eliminate use of 'realtime' arg in calling FS::cust_main_collect RT#4167
Diffstat (limited to 'FS/FS/ClientAPI/Signup.pm')
-rw-r--r--FS/FS/ClientAPI/Signup.pm12
1 files changed, 4 insertions, 8 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index b9cd6c69f..5d70325d2 100644
--- a/FS/FS/ClientAPI/Signup.pm
+++ b/FS/FS/ClientAPI/Signup.pm
@@ -649,14 +649,10 @@ sub new_customer {
# " new customer: $bill_error"
# if $bill_error;
- if ($cust_main->_new_bop_required()) {
- $bill_error = $cust_main->realtime_collect(
- method => FS::payby->payby2bop( $packet->{payby} ),
- depend_jobnum => $placeholder->jobnum,
- );
- } else {
- $bill_error = $cust_main->collect('realtime' => 1);
- }
+ $bill_error = $cust_main->realtime_collect(
+ method => FS::payby->payby2bop( $packet->{payby} ),
+ depend_jobnum => $placeholder->jobnum,
+ );
#warn "[fs_signup_server] error collecting from new customer: $bill_error"
# if $bill_error;