diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-08 10:46:03 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-08 10:46:03 +0000 |
| commit | cf14ed186f2a175db9d8894f51c3186e077f7017 (patch) | |
| tree | ad1b47e98f61129fe03c9d2d68a363aa87aad299 /roundcubemail/program/include/rcube_ldap.php | |
| parent | 3bb77c7cc65eb718bceea806ca8597757a871ee1 (diff) | |
Implement common setters for debug mode
git-svn-id: https://svn.roundcube.net/trunk@5397 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_ldap.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_ldap.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php index ab891e3ea..4fb379254 100644 --- a/roundcubemail/program/include/rcube_ldap.php +++ b/roundcubemail/program/include/rcube_ldap.php @@ -1358,6 +1358,18 @@ class rcube_ldap extends rcube_addressbook /** + * Activate/deactivate debug mode + * + * @param boolean $dbg True if LDAP commands should be logged + * @access public + */ + function set_debug($dbg = true) + { + $this->debug = $dbg; + } + + + /** * Quotes attribute value string * * @param string $str Attribute value |
