From fae90da582ba7ac8ce6c0fdf753bbc6c7f7cbf9f Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 19 Jun 2013 03:11:06 -0400
Subject: [PATCH] Fix debug setting in ldap classes

---
 program/lib/Roundcube/rcube_ldap_generic.php |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/program/lib/Roundcube/rcube_ldap_generic.php b/program/lib/Roundcube/rcube_ldap_generic.php
index 16ca42a..097ddaf 100644
--- a/program/lib/Roundcube/rcube_ldap_generic.php
+++ b/program/lib/Roundcube/rcube_ldap_generic.php
@@ -76,10 +76,9 @@
     /**
     * Object constructor
     *
-    * @param array   $p       LDAP connection properties
-    * @param boolean $debug   Enables debug mode
+    * @param array $p LDAP connection properties
     */
-    function __construct($p, $debug = false)
+    function __construct($p)
     {
         $this->config = $p;
 
@@ -88,8 +87,6 @@
 
         if (!is_array($p['hosts']) && !empty($p['host']))
             $this->config['hosts'] = array($p['host']);
-
-        $this->debug = $debug;
     }
 
     /**

--
Gitblit v1.9.1