From 7516e3da0f17eeecba27219ef96a8b5f46af2083 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Fri, 31 Oct 2014 15:45:50 -0700 Subject: tax engine refactoring for Avalara and Billsoft tax vendors, #25718 --- FS/FS/UI/Web.pm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'FS/FS/UI') diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index 291cea7..bab7e30 100644 --- a/FS/FS/UI/Web.pm +++ b/FS/FS/UI/Web.pm @@ -694,14 +694,9 @@ sub start_job { #too slow to insert all the cgi params as individual args..,? #my $error = $queue->insert('_JOB', $cgi->Vars); - #warn 'froze string of size '. length(nfreeze(\%param)). " for job args\n" - # if $DEBUG; - # - # XXX FS::queue::insert knows how to do this. - # not changing it here because that requires changing it everywhere else, - # too, but we should eventually fix it + #rely on FS::queue smartness to freeze/encode the param hash - my $error = $job->insert( '_JOB', encode_base64(nfreeze(\%param)) ); + my $error = $job->insert( '_JOB', \%param ); if ( $error ) { -- cgit v1.1