Ignore:
Timestamp:
1999-12-07T10:43:37+13:00 (24 years ago)
Author:
sjboddie
Message:

plugins now take options, maxdocs is always defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/IndexPlug.pm

    r640 r809  
    105105    my $count = 0;
    106106    foreach $docfile (keys (%$list)) {
    107     last if (defined $maxdocs && $maxdocs =~ /\d/ && $count >= $maxdocs);
     107    last if ($maxdocs != -1 && $count >= $maxdocs);
    108108    $metadata = {}; # at present we can do this as metadata
    109109                    # will always be empty when it arrives
Note: See TracChangeset for help on using the changeset viewer.