summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_ldap_generic.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-19 09:11:06 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-19 09:11:06 +0200
commitfae90da582ba7ac8ce6c0fdf753bbc6c7f7cbf9f (patch)
treed7eeba00ae334a95ed2d500ea26ecd471b21603f /program/lib/Roundcube/rcube_ldap_generic.php
parent4e12fd5c82b9e299a9eb91bb6e0bb09c47090a16 (diff)
Fix debug setting in ldap classes
Diffstat (limited to 'program/lib/Roundcube/rcube_ldap_generic.php')
-rw-r--r--program/lib/Roundcube/rcube_ldap_generic.php7
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 16ca42af5..097ddafd5 100644
--- a/program/lib/Roundcube/rcube_ldap_generic.php
+++ b/program/lib/Roundcube/rcube_ldap_generic.php
@@ -76,10 +76,9 @@ class rcube_ldap_generic
/**
* 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 @@ class rcube_ldap_generic
if (!is_array($p['hosts']) && !empty($p['host']))
$this->config['hosts'] = array($p['host']);
-
- $this->debug = $debug;
}
/**