##// END OF EJS Templates
Fixes Redmine.pm error "closing dbh with active statement handles at /usr/lib/perl5/Apache/Redmine.pm" (#4205)....
Jean-Philippe Lang -
r3186:1b65a44cfc1e
parent child
Show More
@@ -244,7 +244,9 sub is_public_project {
244 244 }
245 245 }
246 246 $sth->finish();
247 undef $sth;
247 248 $dbh->disconnect();
249 undef $dbh;
248 250
249 251 $ret;
250 252 }
@@ -310,10 +312,13 sub is_member {
310 312 $ret = 1 if ($ldap->authenticate($redmine_user, $redmine_pass));
311 313 }
312 314 $sthldap->finish();
315 undef $sthldap;
313 316 }
314 317 }
315 318 $sth->finish();
319 undef $sth;
316 320 $dbh->disconnect();
321 undef $dbh;
317 322
318 323 if ($cfg->{RedmineCacheCredsMax} and $ret) {
319 324 if (defined $usrprojpass) {
General Comments 0
You need to be logged in to leave comments. Login now