Ignore:
Timestamp:
2011-10-27T15:09:05+13:00 (12 years ago)
Author:
ak19
Message:

Part 3 of commit r24547. The recently-added abstract plugin MetadataRead defines can_process_this_file_for_metadata that MetadataPlugin subclasses can inherit (if MetadataRead is listed first in the ISA inheritance list) and which will then override the one defined in BasePlugin. Forgot to make CSVPlugin also inherit from MetadataRead, whereas in previous commits (24547 and 24548) other plugins had been updated.

File:
1 edited

Legend:

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

    r16104 r24794  
    2929
    3030use SplitTextFile;
     31use MetadataRead;
    3132use strict;
    3233no strict 'refs'; # allow filehandles to be variables and viceversa
     
    3536# CSVPlugin is a sub-class of SplitTextFile.
    3637sub BEGIN {
    37     @CSVPlugin::ISA = ('SplitTextFile');
     38    @CSVPlugin::ISA = ('MetadataRead', 'SplitTextFile');
    3839}
    3940
Note: See TracChangeset for help on using the changeset viewer.