Changeset 06744da in github


Ignore:
Timestamp:
Nov 8, 2011 5:46:03 AM (19 months ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
aa07b22
Parents:
3fe6c70
Message:

Implement common setters for debug mode

Location:
program/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.php

    r3fe6c70 r06744da  
    318318 
    319319    /** 
     320     * Activate/deactivate debug mode 
     321     * 
     322     * @param boolean $dbg True if IMAP conversation should be logged 
     323     * @access public 
     324     */ 
     325    function set_debug($dbg = true) 
     326    { 
     327        $this->options['debug'] = $dbg; 
     328        $this->conn->setDebug($dbg, array($this, 'debug_handler')); 
     329    } 
     330 
     331 
     332    /** 
    320333     * Set default message charset 
    321334     * 
  • program/include/rcube_ldap.php

    r3b4b03d r06744da  
    13591359 
    13601360    /** 
     1361     * Activate/deactivate debug mode 
     1362     * 
     1363     * @param boolean $dbg True if LDAP commands should be logged 
     1364     * @access public 
     1365     */ 
     1366    function set_debug($dbg = true) 
     1367    { 
     1368        $this->debug = $dbg; 
     1369    } 
     1370 
     1371 
     1372    /** 
    13611373     * Quotes attribute value string 
    13621374     * 
Note: See TracChangeset for help on using the changeset viewer.