Ignore:
Timestamp:
12/27/12 18:26:31 (12 years ago)
Author:
nanardon
Message:

store module freshness state in inifile

File:
1 edited

Legend:

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

    r1019 r1200  
    6060 
    6161sub needupd { 
    62     my ($self, $baserev, $syncm) = @_; 
     62    my ($self, $lastrev, $currentrev) = @_; 
    6363 
    64     $baserev ||= -1; 
    65     la_log LA_DEBUG, "Comparing db: %d <=> %d", $syncm->dbrev, $baserev; 
    66     if ($syncm->dbrev > $baserev) { 
     64    la_log LA_DEBUG, "Comparing db: %d <=> %d", $currentrev, $lastrev; 
     65    if ($currentrev > $lastrev) { 
    6766        return 1; 
    6867    } else { 
Note: See TracChangeset for help on using the changeset viewer.