Changeset 21763


Ignore:
Timestamp:
2010-03-08T10:25:36+13:00 (11 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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\.//;
Note: See TracChangeset for help on using the changeset viewer.