program/lib/Roundcube/rcube_ldap.php | ●●●●● patch | view | raw | blame | history | |
program/lib/Roundcube/rcube_ldap_generic.php | ●●●●● patch | view | raw | blame | history |
program/lib/Roundcube/rcube_ldap.php
@@ -205,8 +205,9 @@ } // initialize ldap wrapper object $this->ldap = new rcube_ldap_generic($this->prop, true); $this->ldap = new rcube_ldap_generic($this->prop); $this->ldap->set_cache($this->cache); $this->ldap->set_debug($this->debug); $this->_connect(); } @@ -1459,11 +1460,14 @@ * Activate/deactivate debug mode * * @param boolean $dbg True if LDAP commands should be logged * @access public */ function set_debug($dbg = true) { $this->debug = $dbg; if ($this->ldap) { $this->ldap->set_debug($dbg); } } program/lib/Roundcube/rcube_ldap_generic.php
@@ -77,9 +77,8 @@ * Object constructor * * @param array $p LDAP connection properties * @param boolean $debug Enables debug mode */ 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; } /**