From: Hypolite Petovan Date: Mon, 4 Dec 2017 07:47:08 +0000 (-0500) Subject: Remove needless parentheses X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8bfe13246dd1512b623e499016133d79c1d87e62;p=friendica-addons.git Remove needless parentheses --- diff --git a/ldapauth/ldapauth.php b/ldapauth/ldapauth.php index d01f83ef..a0b270e3 100755 --- a/ldapauth/ldapauth.php +++ b/ldapauth/ldapauth.php @@ -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; }