Changeset 31190 for main/trunk/greenstone2/perllib/inexport.pm
- Timestamp:
- 2016-12-09T21:37:52+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/inexport.pm
r31189 r31190 35 35 use dbutil; 36 36 use doc; 37 use oaiinfo; 37 38 use plugin; 38 39 use plugout; … … 354 355 my $gs_mode = "gs".$self->{'gs_version'}; #gs2 or gs3 355 356 my $config_filename = &colcfg::get_collect_cfg_name($out, $gs_mode); 357 358 # store the config file's name, so oaiinfo object constructor can be instantiated with it 359 $self->{'config_filename'} = $config_filename; 360 356 361 my $collectcfg = &colcfg::read_collection_cfg ($config_filename, $gs_mode); 357 362 … … 725 730 print STDERR "Skipping global file scan due to manifest and complexmeta configuration\n"; 726 731 } 732 733 734 # Prepare to work with the <collection>/etc/oai-inf.<db> that keeps track 735 # of the OAI identifiers with their time stamps and deleted status. 736 my $oai_info = new oaiinfo(&util::get_parent_folder($self->{'importdir'}), $collectcfg->{'infodbtype'}); 737 my $have_manifest = ($manifest eq '') ? 0 : 1; 738 $oai_info->import_stage($removeold, $have_manifest); 739 727 740 728 741 if ($manifest ne "") {
Note:
See TracChangeset
for help on using the changeset viewer.