Changeset 32519

Show
Ignore:
Timestamp:
18.10.2018 19:34:48 (5 weeks ago)
Author:
ak19
Message:

Added BasePlugout::end() so I can use it in the new MySQLPlugout, and which can mirrour BasePlugout::begin().

Location:
main/trunk/greenstone2/perllib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/inexport.pm

    r31700 r32519  
    10061006    # signal to the processor (plugout) that we have finished processing - if we are group processing, then the final output file needs closing. 
    10071007    $processor->close_group_output() if $processor->is_group(); 
    1008  
     1008    $processor->end(); 
     1009     
    10091010#    if ($inexport_mode eq "import") { 
    10101011    if ($self->{'generate_auxiliary_files'}) { 
  • main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm

    r32511 r32519  
    188188 
    189189} 
     190# implement in subclasses if it needs some non-group related cleanup (post-group cleanup 
     191# Like begin(), end() is also called by inexport.pm 
     192sub end { 
     193    my $self= shift (@_); 
     194 
     195} 
    190196sub print_xml_usage 
    191197{