Ignore:
Timestamp:
2010-01-21T15:59:35+13:00 (14 years ago)
Author:
mdewsnip
Message:

Changed lots of occurrences of "GDBM" in comments, variable names and function names, where the code isn't GDBM-specific. Part of making the code less GDBM-specific.

File:
1 edited

Legend:

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

    r20575 r21564  
    204204    # but do want things like hastxt and archivedir
    205205    my @items = split /@/, $doc_db_hash->{$key};
    206     # metadata is all from gdbm so should already be in utf8
     206    # metadata is all from the info database so should already be in utf8
    207207    map {$doc_obj->add_utf8_metadata ($cursection, $key, $_); } @items;
    208208
     
    214214sub db_rec_to_hash {
    215215   
    216     my ($gdb_str_ref) = @_;
     216    my ($infodb_str_ref) = @_;
    217217
    218218    my $hashref = {};
    219219
    220     my @entries = split(/\n/, $gdb_str_ref);
     220    my @entries = split(/\n/, $infodb_str_ref);
    221221    foreach my $entry (@entries) {
    222222    my($key, $value) = ($entry =~ /^<([^>]*)>(.*?)$/ );
Note: See TracChangeset for help on using the changeset viewer.