Changeset 21763

Show
Ignore:
Timestamp:
08.03.2010 10:25:36 (10 years ago)
Author:
kjdon
Message:

don't modify document_field is info_only - doesn't appear to be defined for a -listall

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/OAIPlugin.pm

    r20792 r21763  
    8686    my $self = new ReadXMLFile($pluginlist, $inputargs, $hashArgOptLists); 
    8787 
     88    if ($self->{'info_only'}) { 
     89    # don't worry about modifying options 
     90    return bless $self, $class; 
     91    } 
    8892    # trim ex. from document field (if there) 
    8993    $self->{'document_field'} =~ s/^ex\.//;