Ignore:
Timestamp:
2009-05-29T09:46:56+12:00 (15 years ago)
Author:
mdewsnip
Message:

Removed check that a plugout specified in the collect.cfg file is either GreenstoneXMLPlugout or GreenstoneMETSPlugout. The check wouldn't work anyway, and the code needs to allow custom collection-specific plugouts with any name to be specified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/import.pl

    r19625 r19657  
    554554    ####Use Plugout####
    555555    my ($plugout);
    556     if (defined $collectcfg->{'plugout'} && $collectcfg->{'plugout'} =~ /^(GreenstoneXML|GreenstoneMETS)Plugout/) {
     556    if (defined $collectcfg->{'plugout'}) {
     557    # If a plugout was specified in the collect.cfg file, assume it is sensible
     558    # We can't check the name because it could be anything, if it is a custom plugout
    557559    $plugout = $collectcfg->{'plugout'};
    558560    }
Note: See TracChangeset for help on using the changeset viewer.