Ignore:
Timestamp:
2006-01-24T10:29:34+13:00 (18 years ago)
Author:
kjdon
Message:

made all plugins that implement read() call read_block to check process_exp, block_exp, smart blocking, cover image blocking etc

File:
1 edited

Legend:

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

    r10956 r11090  
    8888
    8989    # see if we can handle the passed file...
    90     my $filename = $file;
    91     $filename = &util::filename_cat ($base_dir, $file) if $base_dir =~ /\w/;
    92     if ($filename !~ /$self->{'process_exp'}/ || !-f $filename) {
    93     # this plugin can't process this file type...
    94         return undef;
    95     }
     90    my ($block_status,$filename) = $self->read_block(@_);   
     91    return $block_status if ((!defined $block_status) || ($block_status==0));
    9692
    9793    my $outhandle = $self->{'outhandle'};
Note: See TracChangeset for help on using the changeset viewer.