Ignore:
Timestamp:
2005-05-10T16:55:00+12:00 (19 years ago)
Author:
kjdon
Message:

fixed up maxdocs - now pass an extra parameter to the read function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugin.pm

    r9584 r9853  
    155155
    156156sub read {
    157     my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs, $gli, $aux) = @_;
     157    my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs, $total_count, $gli, $aux) = @_;
    158158
    159159    $maxdocs = -1 unless defined $maxdocs && $maxdocs =~ /\d/;
     160    $total_count = 0 unless defined $total_count && $total_count =~ /\d/;
    160161    $gli = 0 unless defined $gli;
    161162
     
    187188
    188189        $rv = $plugobj->read($pluginfo, $base_dir, $file,
    189                  $metadata, $processor, $maxdocs, $gli, $aux);
     190                 $metadata, $processor, $maxdocs, $total_count, $gli, $aux);
    190191
    191192    if (defined $rv) {
Note: See TracChangeset for help on using the changeset viewer.