- Add a "else" block for the debug message, else it will be printed even in non multi mode.
This commit is contained in:
parent
4739155295
commit
e778b9842f
|
@ -385,7 +385,9 @@ sub ldap {
|
|||
unless ( $self->{_multi} ) {
|
||||
return $self->{ldap} if ( ref( $self->{ldap} ) );
|
||||
}
|
||||
$self->lmLog("LDAP Cache disabled in multi mode", 'debug');
|
||||
else {
|
||||
$self->lmLog("LDAP Cache disabled in multi mode", 'debug');
|
||||
}
|
||||
if ( $self->{ldap} = Lemonldap::NG::Portal::_LDAP->new($self)
|
||||
and my $mesg = $self->{ldap}->bind )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user