Changeset 1204
- Timestamp:
- 12/27/12 18:26:36 (11 years ago)
- Location:
- trunk/LATMOS-Accounts/lib/LATMOS/Accounts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Synchro.pm
r1071 r1204 365 365 $self->unlock; 366 366 367 1; 367 if (!$res) { # postscript failure 368 return; 369 } elsif (grep { $desterror{$_} } keys %desterror) { 370 # There were errors :\ 371 return; 372 } else { 373 return 1; 374 } 368 375 } 369 376 -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Basessynchro.pm
r1023 r1204 33 33 ) or do { 34 34 la_log LA_ERR, "cannot create sync object"; 35 return 2;35 return; 36 36 }; 37 37 38 38 $sync->load_dest and do { 39 39 la_log LA_ERR, "Cannot load destination"; 40 return 3;40 return; 41 41 }; 42 42 43 43 $sync->process() or do { 44 44 la_log LA_ERR, "Sync has failed\n"; 45 return 4;45 return; 46 46 }; 47 48 return 1; 47 49 } 48 50
Note: See TracChangeset
for help on using the changeset viewer.