From 06744da24100473aa8180cf07ec1970987d2f66b Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 8 Nov 2011 10:46:03 +0000 Subject: Implement common setters for debug mode --- program/include/rcube_ldap.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'program/include/rcube_ldap.php') diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index ab891e3ea..4fb379254 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -1357,6 +1357,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 * -- cgit v1.2.3