[freeside-commits] branch FREESIDE_3_BRANCH updated. 3e7e006eb5c83439a7647d94e4fd3c94f326be18

Ivan ivan at 420.am
Sat Oct 25 15:19:46 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  3e7e006eb5c83439a7647d94e4fd3c94f326be18 (commit)
      from  9597ac6650df1607dfa069347c903c20592ed7db (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 3e7e006eb5c83439a7647d94e4fd3c94f326be18
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Oct 25 15:19:46 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