Changeset 21786


Ignore:
Timestamp:
2010-03-15T12:20:15+13:00 (14 years ago)
Author:
kjdon
Message:

removing disable_OAI option. As far as I know, its only used for gs3, to determine whether to output the serviceRack or not, but this is now done in collectionConfig.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/buildcol.pl

    r21633 r21786  
    224224    'reqd' => "no",
    225225    'hiddengli' => "yes" },
    226       { 'name' => "disable_OAI",
    227         'desc' => "{buildcol.disable_OAI}",
    228         'type' => "flag",
    229         'reqd' => "no",
    230         'modegli' => "2",
    231     'hiddengli' => "yes" },
    232226      ];
    233227
     
    292286    $collectdir, $build, $type, $textindex,
    293287    $no_strip_html, $no_text, $faillog, $gli, $index, $language,
    294     $sections_index_document_metadata, $maxnumeric,
    295     $disable_OAI);
     288    $sections_index_document_metadata, $maxnumeric);
    296289
    297290    my $xml = 0;
     
    471464 
    472465    $gli = 0 unless defined $gli;
    473 
    474     # If the disable_OAI flag is not present, the option $disable_OAI with the value of 0 will be passed to basebuilder.pm
    475     $disable_OAI = 0 unless defined $disable_OAI;
    476466   
    477467    # New argument to track whether build is incremental
     
    571561     "\$maxdocs, \$debug, \$keepold, \$incremental, \$incremental_mode, " .
    572562     "\$remove_empty_classifications, " .
    573      "\$out, \$no_text, \$faillog, \$gli, \$disable_OAI)");
     563     "\$out, \$no_text, \$faillog, \$gli)");
    574564    die "$@" if $@;
    575565
Note: See TracChangeset for help on using the changeset viewer.