From 253cc5890dec068d2ca3fb0ea2c36c1d945e8fa5 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Fri, 03 Oct 2008 02:25:53 -0400
Subject: [PATCH] Fix typo.

---
 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