Ignore:
Timestamp:
12/28/12 15:05:22 (12 years ago)
Author:
nanardon
Message:

add reset checkpoint to Basessynchro, fixing #3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Synchro.pm

    r1204 r1205  
    399399} 
    400400 
     401=head2 reset_checkpoint 
     402 
     403Reset checkpoint in status file to force full synchronisation 
     404 
     405=cut 
     406 
     407sub reset_checkpoint { 
     408    my ($self) = @_; 
     409    foreach my $destbase ($self->to) { 
     410            # don't register checkpoint on error 
     411        $self->newval($self->from->label, $destbase->label, 0); 
     412    } 
     413    $self->write_status; 
     414} 
     415 
    401416=head2 run_pre_synchro 
    402417 
Note: See TracChangeset for help on using the changeset viewer.