- Get rid of IMAP connection message tracing

release-0.6
alecpl 14 years ago
parent 0e11940a65
commit d7e83d34dd

@ -156,13 +156,8 @@ class rcube_imap
$this->ssl = $use_ssl; $this->ssl = $use_ssl;
if ($this->conn->connected()) { if ($this->conn->connected()) {
// print trace messages
if ($this->conn->message && ($this->debug_level & 8)) {
console($this->conn->message);
}
// get namespace and delimiter // get namespace and delimiter
$this->set_env(); $this->set_env();
return true; return true;
} }
// write error log // write error log

@ -85,7 +85,6 @@ class rcube_imap_generic
{ {
public $error; public $error;
public $errornum; public $errornum;
public $message;
public $data = array(); public $data = array();
public $flags = array( public $flags = array(
'SEEN' => '\\Seen', 'SEEN' => '\\Seen',
@ -692,8 +691,6 @@ class rcube_imap_generic
$this->parseCapability($matches[1], true); $this->parseCapability($matches[1], true);
} }
$this->message = $line;
// TLS connection // TLS connection
if ($this->prefs['ssl_mode'] == 'tls' && $this->getCapability('STARTTLS')) { if ($this->prefs['ssl_mode'] == 'tls' && $this->getCapability('STARTTLS')) {
if (version_compare(PHP_VERSION, '5.1.0', '>=')) { if (version_compare(PHP_VERSION, '5.1.0', '>=')) {

Loading…
Cancel
Save