summaryrefslogtreecommitdiff
path: root/FS/FS/UI/Web.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/UI/Web.pm')
-rw-r--r--FS/FS/UI/Web.pm9
1 files changed, 2 insertions, 7 deletions
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 ) {