Changeset 27320

Show
Ignore:
Timestamp:
09.05.2013 13:39:24 (6 years ago)
Author:
ak19
Message:

Oversight to previous commit: one more minor change. Previous commit message: key DB is gdbm and has no way of changing the DB type. Can't use infodbtype to work out its DB type, especially as infodbtype can be different on a per collection basis.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cgiactions/baseaction.pm

    r27319 r27320  
    3535use POSIX; 
    3636 
    37 our $authentication_enabled = 1; # debugging flag (can debug without authentication when set to 0) 
     37our $authentication_enabled = 0; # debugging flag (can debug without authentication when set to 0) 
    3838our $mail_enabled = 0; 
    3939 
     
    333333            my $key_rec = &dbutil::read_infodb_entry("gdbm", $key_db_file_path, $user_key); 
    334334            $key_rec->{"time"}->[0] = $current_time; 
    335             my $status = &dbutil::set_infodb_entry($infodbtype, $key_db_file_path, $user_key, $key_rec); 
     335            my $status = &dbutil::set_infodb_entry("gdbm", $key_db_file_path, $user_key, $key_rec); 
    336336             
    337337            if ($status != 0) {