From 11ef977d13ce87390074591b1dded0796ffeefcd Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 02 Sep 2008 08:29:31 -0400
Subject: [PATCH] - fixed and re-enabled (RFC3501 [7.1]) CAPABILITY optional response use
---
program/include/rcube_ldap.php | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index df68f34..929634e 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -62,16 +62,6 @@
$this->connect();
}
- /**
- * PHP 4 object constructor
- *
- * @see rcube_ldap::__construct()
- */
- function rcube_ldap($p)
- {
- $this->__construct($p);
- }
-
/**
* Establish a connection to the LDAP server
@@ -94,7 +84,7 @@
{
if ($lc = @ldap_connect($host, $this->prop['port']))
{
- if ($this->prop['use_tls']===true || strtoupper($this->prop['use_tls'])==='TRUE')
+ if ($this->prop['use_tls']===true)
if (!ldap_start_tls($lc))
continue;
--
Gitblit v1.9.1