Changeset 20793

Show
Ignore:
Timestamp:
07.10.2009 15:57:26 (10 years ago)
Author:
kjdon
Message:

don't need to set extrametafile as when a metadata file changes, we reimport everything

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/MetadataXMLPlugin.pm

    r20577 r20793  
    270270         
    271271        # now record which metadata.xml file it came from 
    272  
    273         my $file = $self->{'metadata-file'}; 
    274         my $filename = $self->{'metadata-filename'}; 
    275  
    276         if (!defined $self->{'metafileref'}->{$target}) { 
    277         $self->{'metafileref'}->{$target} = {}; 
    278         } 
    279  
    280         $self->{'metafileref'}->{$target}->{$file} = $filename 
     272        # I don't think we need to do this, as if a metadata file has changed, we  
     273        # reimport the whole folder. - we don't know if the file has metadata for a new doc. 
     274 
     275        #my $file = $self->{'metadata-file'}; 
     276        #my $filename = $self->{'metadata-filename'}; 
     277 
     278        #if (!defined $self->{'metafileref'}->{$target}) { 
     279        #   $self->{'metafileref'}->{$target} = {}; 
     280        #} 
     281 
     282        #$self->{'metafileref'}->{$target}->{$file} = $filename 
    281283    } 
    282284    }