@@ -244,7 +244,9 sub is_public_project { | |||||
244 | } |
|
244 | } | |
245 | } |
|
245 | } | |
246 | $sth->finish(); |
|
246 | $sth->finish(); | |
|
247 | undef $sth; | |||
247 | $dbh->disconnect(); |
|
248 | $dbh->disconnect(); | |
|
249 | undef $dbh; | |||
248 |
|
250 | |||
249 | $ret; |
|
251 | $ret; | |
250 | } |
|
252 | } | |
@@ -310,10 +312,13 sub is_member { | |||||
310 | $ret = 1 if ($ldap->authenticate($redmine_user, $redmine_pass)); |
|
312 | $ret = 1 if ($ldap->authenticate($redmine_user, $redmine_pass)); | |
311 | } |
|
313 | } | |
312 | $sthldap->finish(); |
|
314 | $sthldap->finish(); | |
|
315 | undef $sthldap; | |||
313 | } |
|
316 | } | |
314 | } |
|
317 | } | |
315 | $sth->finish(); |
|
318 | $sth->finish(); | |
|
319 | undef $sth; | |||
316 | $dbh->disconnect(); |
|
320 | $dbh->disconnect(); | |
|
321 | undef $dbh; | |||
317 |
|
322 | |||
318 | if ($cfg->{RedmineCacheCredsMax} and $ret) { |
|
323 | if ($cfg->{RedmineCacheCredsMax} and $ret) { | |
319 | if (defined $usrprojpass) { |
|
324 | if (defined $usrprojpass) { |
General Comments 0
You need to be logged in to leave comments.
Login now