Revision 43

Date:
2009/03/27 16:55:53
Author:
dpavlin
Revision Log:
we really need AutoCommit => 1 so we see changes
in koha database which happend after startup
Files:

Legend:

 
Added
 
Removed
 
Modified
  • lib/LDAP/Koha.pm

     
    26 26
    27 27 require 'config.pl' if -e 'config.pl';
    28 28
    29 my $dbh = DBI->connect($dsn . $database, $user,$passwd, { RaiseError => 1, AutoCommit => 0 }) || die $DBI::errstr;
    29 my $dbh = DBI->connect($dsn . $database, $user,$passwd, { RaiseError => 1, AutoCommit => 1 }) || die $DBI::errstr;
    30 30
    31 31 # Net::LDAP::Entry will lc all our attribute names anyway, so
    32 32 # we don't really care about correctCapitalization for LDAP