Ignore:
Timestamp:
2010-01-26T17:25:25+13:00 (14 years ago)
Author:
mdewsnip
Message:

Changed IncrementalDocument constructor to take the infodbtype as a parameter, instead of assuming GDBM. Part of making the code less GDBM-specific.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/IncrementalBuildUtils.pm

    r21644 r21645  
    203203    #    from the info database
    204204    print STDERR "* creating incremental document for $oid\n" unless !$debug;
    205     my $doc_obj = new IncrementalDocument($collection, $oid);
     205    my $doc_obj = new IncrementalDocument($collection, $infodbtype, $oid);
    206206    $doc_obj->loadDocument();
    207207    # C. Check to see if this metadata is used to build a classifier(s) and if
     
    380380    # Load the incremental document to go with this oid, as we need some
    381381    # information from it.
    382     my $doc_obj = new IncrementalDocument($collection, $oid);
     382    my $doc_obj = new IncrementalDocument($collection, $infodbtype, $oid);
    383383    $doc_obj->loadDocument();
    384384    # Check if this object even exists by retrieving the docnum.
Note: See TracChangeset for help on using the changeset viewer.