mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 05:23:41 +00:00
Remove needless parentheses
This commit is contained in:
parent
780481528d
commit
8bfe13246d
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ function ldapauth_authenticate($username, $password)
|
|||
$ldap_autocreateaccount_emailattribute = Config::get('ldapauth', 'ldap_autocreateaccount_emailattribute');
|
||||
$ldap_autocreateaccount_nameattribute = Config::get('ldapauth', 'ldap_autocreateaccount_nameattribute');
|
||||
|
||||
if (!((strlen($password)) && (function_exists('ldap_connect')) && (strlen($ldap_server)))) {
|
||||
if (!(strlen($password) && function_exists('ldap_connect') && strlen($ldap_server))) {
|
||||
logger("ldapauth: not configured or missing php-ldap module");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue