* VALUES: false, 'ssl', 'tls'.
* DEFAULT: No encryption
* statuscache - (boolean) Cache STATUS responses?
- * DEFAULT: True
+ * DEFAULT: False
* timeout - (integer) Connection timeout, in seconds.
* DEFAULT: 10 seconds
*
$params['timeout'] = 10;
}
- if (!isset($params['statuscache'])) {
- $params['statuscache'] = true;
- }
-
if (empty($params['cache'])) {
$params['cache'] = array('fields' => array());
} elseif (empty($params['cache']['fields'])) {
/* Check for cached information. */
if (!$curr_mbox &&
- $this->_params['statuscache'] &&
+ !empty($this->_params['statuscache']) &&
isset($this->_temp['statuscache'][$mailbox])) {
$ptr = &$this->_temp['statuscache'][$mailbox];