Changeset 1200 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task.pm
- Timestamp:
- 12/27/12 18:26:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task.pm
r1019 r1200 60 60 61 61 sub needupd { 62 my ($self, $ baserev, $syncm) = @_;62 my ($self, $lastrev, $currentrev) = @_; 63 63 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) { 67 66 return 1; 68 67 } else {
Note: See TracChangeset
for help on using the changeset viewer.