Changeset 20794


Ignore:
Timestamp:
2009-10-07T15:59:20+13:00 (13 years ago)
Author:
kjdon
Message:

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

File:
1 edited

Legend:

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

    r20771 r20794  
    193193    $extrametadata->{$csv_line_filename} = \%csv_line_metadata;
    194194    push(@$extrametakeys, $csv_line_filename);
    195     # record which file the metadata came from
    196     if (!defined $extrametafile->{$csv_line_filename}) {
    197         $extrametafile->{$csv_line_filename} = {};
    198     }
     195    # record which file the metadata came from - don't need to do this as if meta file changes, we
     196    # reimport everything
     197#   if (!defined $extrametafile->{$csv_line_filename}) {
     198#       $extrametafile->{$csv_line_filename} = {};
     199#   }
    199200    # maps the file to full path
    200     $extrametafile->{$csv_line_filename}->{$file} = $filename;
     201#   $extrametafile->{$csv_line_filename}->{$file} = $filename;
    201202    }
    202203}
Note: See TracChangeset for help on using the changeset viewer.