missing extension problems are handled inside backend class.
[squirrelmail.git] / functions / addressbook.php
index 54e16d015ce1585f21312b139ea8bb4028990e93..90de7dab7a625cfbec275b182a762747b89163c6 100644 (file)
@@ -139,7 +139,7 @@ function addressbook_init($showerr = true, $onlylocal = false) {
 
     if (! $onlylocal) {
         /* Load configured LDAP servers (if PHP has LDAP support) */
-        if (isset($ldap_server) && is_array($ldap_server) && function_exists('ldap_connect')) {
+        if (isset($ldap_server) && is_array($ldap_server)) {
             reset($ldap_server);
             while (list($undef,$param) = each($ldap_server)) {
                 if (is_array($param)) {