Changeset 32572 for main/trunk/greenstone2/perllib
- Timestamp:
- 2018-11-05T19:06:16+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugin.pm
r32566 r32572 268 268 $rv = $plugobj->remove_one($file, $oids, $archivedir); 269 269 if (defined $rv && $rv != -1) { 270 #return $rv;271 270 $processed_file = 1; 272 271 last; # break and continue with outer for loop, to process other deleted files 273 272 } # else undefined (was not recognised by the plugin) or there was an error, try the next one 274 273 } 275 #return 0;276 274 277 275 if (!$processed_file) { # no plugin could recognise file. … … 279 277 print STDERR "WARNING: plugin::remove_some() failed to process $file with oid(s) ". join(",", @$oids) . "\n"; 280 278 #return 0; 281 $all_files_processed_successfully = $processed_file && $all_files_processed_successfully;279 $all_files_processed_successfully = 0; 282 280 } # else some plugin processed the current deleted file 283 281 # continue to process next deleted file
Note:
See TracChangeset
for help on using the changeset viewer.