Changeset 31191
- Timestamp:
- 2016-12-09T22:18:32+13:00 (7 years ago)
- Location:
- main/trunk/greenstone2/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/inexport.pm
r31190 r31191 734 734 # Prepare to work with the <collection>/etc/oai-inf.<db> that keeps track 735 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'});736 my $oai_info = new oaiinfo($self->{'config_filename'}, $collectcfg->{'infodbtype'}); 737 737 my $have_manifest = ($manifest eq '') ? 0 : 1; 738 738 $oai_info->import_stage($removeold, $have_manifest); -
main/trunk/greenstone2/perllib/oaiinfo.pm
r31190 r31191 195 195 # print STDERR "@@@@@ oaidb: $self->{'oaidb_file_path'}\n"; 196 196 197 return $self->{'do_pd_step'}; 197 198 } 198 199 … … 220 221 my ($removeold, $have_manifest) = @_; 221 222 222 $self->init_tmpdb($removeold, $have_manifest); 223 224 my $do_pd_step = $self->{'do_pd_step'};# 1 if the step to mark oaidb entries as PD is required225 # if we're doing full rebuilding and it's NOT the first time creating the oai_inf db,226 # then the tasks to do with PD (provisionally deleted) OAI OIDs should be carried out223 224 my $do_pd_step = $self->init_tmpdb($removeold, $have_manifest); 225 # 1 if the step to mark oaidb entries as PD is required 226 # if we're doing full rebuilding and it's NOT the first time creating the oai_inf db, 227 # then the tasks to do with PD (provisionally deleted) OAI OIDs should be carried out 227 228 228 229
Note:
See TracChangeset
for help on using the changeset viewer.