[freeside-commits] branch master updated. 28e9ba1b3c8df377394d7f01e4c69a835a9b1b71
Ivan
ivan at 420.am
Sat Oct 25 15:19:45 PDT 2014
The branch, master has been updated
via 28e9ba1b3c8df377394d7f01e4c69a835a9b1b71 (commit)
from bec390c8334dc0d3dd8d13e95f0a04ed673f1319 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 28e9ba1b3c8df377394d7f01e4c69a835a9b1b71
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Oct 25 15:19:45 2014 -0700
Vitelity API: Use new getcdr command, RT#31037
diff --git a/bin/cdr-vitelity.import b/bin/cdr-vitelity.import
index a047c4a..39c0361 100755
--- a/bin/cdr-vitelity.import
+++ b/bin/cdr-vitelity.import
@@ -64,14 +64,6 @@ foreach my $export (@part_exports) {
$export->isa('FS::part_export::vitelity')
or die "exportnum $exportnum is not a Vitelity export\n";
- if ( $opt{'r'} ) {
- my $result = $export->vitelity_command('resetcdrlist');
- if ( $result ne 'ok' ) {
- $dbh->rollback;
- die "Failed to reset CDR list: $result\n";
- }
- }
-
my $dir = $FS::UID::cache_dir . "/cache.". $FS::UID::datasrc;
my $temp = new File::Temp ( TEMPLATE => 'download.XXXXXXXX',
SUFFIX => '.csv',
@@ -106,7 +98,7 @@ foreach my $export (@part_exports) {
$count++;
}
close $temp;
- print "Selected $count records in date range." if $opt{'v'} and ($s or $e);
+ print "Selected $count records in date range." if $opt{'v'};
my $format = 'vitelity';
my $batchname = "vitelity-$exportnum-".time2str('%Y/%m/%d-%T',time);
-----------------------------------------------------------------------
Summary of changes:
bin/cdr-vitelity.import | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
More information about the freeside-commits
mailing list