Changeset 1846


Ignore:
Timestamp:
2001-01-22T11:46:42+13:00 (23 years ago)
Author:
sjboddie
Message:

Removed a call to a function that I removed in my previous changes - oops

File:
1 edited

Legend:

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

    r1845 r1846  
    586586    }
    587587
    588      if($self->{'date_extract'}) {
    589      my $thissection = $doc_obj->get_top_section();
    590      while (defined $thissection) {
    591          
    592          my $text = $doc_obj->get_text($thissection);
    593          &DateExtract::get_date_metadata($text, $doc_obj,
    594                          $thissection,
    595                          $self->{'no_biblio'},
    596                          $self->{'max_year'},
    597                          $self->{'max_century'});
    598          $thissection = $doc_obj->get_next_section ($thissection);
    599          }
    600      }
    601 
    602     if ($self->{'extract_language'}) {
     588    if($self->{'date_extract'}) {
    603589    my $thissection = $doc_obj->get_top_section();
    604590    while (defined $thissection) {
     591       
    605592        my $text = $doc_obj->get_text($thissection);
    606         $self->extract_language (\$text, $doc_obj, $thissection) if $text =~ /./;
     593        &DateExtract::get_date_metadata($text, $doc_obj,
     594                        $thissection,
     595                        $self->{'no_biblio'},
     596                        $self->{'max_year'},
     597                        $self->{'max_century'});
    607598        $thissection = $doc_obj->get_next_section ($thissection);
    608599    }
    609600    }
    610 
    611601}
    612602
Note: See TracChangeset for help on using the changeset viewer.