Changeset 21308 for main/trunk/greenstone2/perllib/plugins/BasePlugin.pm
- Timestamp:
- 2009-12-09T13:21:38+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/BasePlugin.pm
r21286 r21308 314 314 } 315 315 316 # In case a plugin (eg PharosImageIndexer) needs to do something extra 317 sub removeold { 316 # This is called once if removeold is set with import.pl. Most plugins will do 317 # nothing but if a plugin does any stuff outside of creating doc obj, then 318 # it may need to clear something. 319 sub remove_all { 318 320 my $self = shift (@_); 319 321 my ($pluginfo, $base_dir, $processor, $maxdocs) = @_; 322 } 323 324 # This is called per document for docs that have been deleted from the 325 # collection. Most plugins will do nothing 326 # but if a plugin does any stuff outside of creating doc obj, then it may need 327 # to clear something. 328 sub remove_one { 329 my $self = shift (@_); 330 331 my ($file, $oids) = @_; 320 332 } 321 333
Note:
See TracChangeset
for help on using the changeset viewer.