Ignore:
Timestamp:
2009-12-09T13:21:38+13:00 (14 years ago)
Author:
kjdon
Message:

removeold renamed to remove_all, added remove_one for deleting a single doc

File:
1 edited

Legend:

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

    r21285 r21308  
    141141}
    142142
    143 sub removeold {
     143sub remove_all {
    144144    my $self = shift (@_);
    145145    my ($pluginfo, $base_dir, $processor, $maxdocs) = @_;
    146146
    147147}
     148
     149sub remove_one {
     150    my $self = shift (@_);
     151    my ($file, $oids) = @_;
     152   
     153}
     154
     155
    148156# called at the end of each plugin pass
    149157sub end {
     
    567575       
    568576        my $tmpfile = Encode::encode_utf8($subfile);
    569     #print STDERR "subfile = $subfile, tmpfile = $tmpfile\n";
    570577    # Next add metadata read in XML files (if it is supplied)
    571578    if ($additionalmetadata == 1) {
Note: See TracChangeset for help on using the changeset viewer.