summaryrefslogtreecommitdiff
path: root/bin/cdr.http_and_import
diff options
context:
space:
mode:
authorivan <ivan>2009-11-19 09:47:02 +0000
committerivan <ivan>2009-11-19 09:47:02 +0000
commit457cf05ffc31212de613249c95a8ab05aed34f47 (patch)
tree0ce85765bb021c52d3c3b572a68afc49879c1a57 /bin/cdr.http_and_import
parent8efd6f2dd2b81f42fdd573c3a194dd0eb6e28206 (diff)
proper cdr_batch table, RT#6386
Diffstat (limited to 'bin/cdr.http_and_import')
-rwxr-xr-xbin/cdr.http_and_import8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/cdr.http_and_import b/bin/cdr.http_and_import
index 5637fa5..8910eec 100755
--- a/bin/cdr.http_and_import
+++ b/bin/cdr.http_and_import
@@ -85,10 +85,10 @@ foreach my $file ( @files ) {
warn "Processing $filename\n" if $opt_v;
my $error = FS::cdr::batch_import( {
- 'file' => "$cachedir/$filename",
- 'format' => $format,
- 'params' => { 'cdrbatch' => $filename },
- 'empty_ok' => 1,
+ 'file' => "$cachedir/$filename",
+ 'format' => $format,
+ 'batch_namevalue' => $filename,
+ 'empty_ok' => 1,
} );
die $error if $error;