Changeset 21316 for gs3-extensions/pharos-imageis/trunk
- Timestamp:
- 2009-12-09T15:39:40+13:00 (14 years ago)
- Location:
- gs3-extensions/pharos-imageis/trunk/perllib/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/pharos-imageis/trunk/perllib/plugins/PharosImageIndexer.pm
r21305 r21316 96 96 my $self = shift (@_); 97 97 98 my ($file, $oids ) = @_;98 my ($file, $oids, $archivedir) = @_; 99 99 print STDERR "in pharos remove_one, $file, $oids\n"; 100 100 return if ($self->{'disable_pharos_imageis'}); … … 105 105 } 106 106 107 my $doc_id = @$oids[0]; 107 my $doc_id = @$oids[0]; # do we need to do all the ids?? 108 108 return unless defined $doc_id; 109 109 my $collection = &util::get_current_collection_name(); -
gs3-extensions/pharos-imageis/trunk/perllib/plugins/PharosImagePlugin.pm
r21304 r21316 84 84 sub remove_one { 85 85 my $self = shift (@_); 86 my ($file, $oids) = @_; 87 $self->SUPER::remove_one(@_); 86 my ($file, $oids, $archivedir) = @_; 87 return undef if (!$self->can_process_this_file($file)); 88 88 89 $self->PharosImageIndexer::remove_one(@_); 90 return $self->SUPER::remove_one(@_); 91 92 89 93 } 90 94
Note:
See TracChangeset
for help on using the changeset viewer.