Changeset 8893


Ignore:
Timestamp:
2005-01-12T13:46:08+13:00 (19 years ago)
Author:
davidb
Message:

Additional check added to plugins read function to remain compatible
with BasPlug. The check is connected with supporting the -assoicate_ext
minus option implemented in BasPlug.

File:
1 edited

Legend:

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

    r8513 r8893  
    268268    $filename = &util::filename_cat ($base_dir, $file) if $base_dir =~ /\w/;
    269269
     270    if ($self->associate_with($file,$filename,$metadata)) {
     271    # a form of smart block
     272    $self->{'num_blocked'} ++;
     273    return 0; # blocked
     274    }
     275
    270276    if ($self->{'block_exp'} ne "" && $filename =~ /$self->{'block_exp'}/) {
    271277    $self->{'num_blocked'} ++;
Note: See TracChangeset for help on using the changeset viewer.