Changeset 19657

Show
Ignore:
Timestamp:
29.05.2009 09:46:56 (10 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.

Files:
1 modified

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    }