From d7e83d34ddad6d4285a1ae18362642149b18aaa2 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 7 Dec 2010 10:46:53 +0000 Subject: [PATCH] - Get rid of IMAP connection message tracing --- program/include/rcube_imap.php | 5 ----- program/include/rcube_imap_generic.php | 3 --- 2 files changed, 8 deletions(-) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 7db5e5468..990e1a05d 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -156,13 +156,8 @@ class rcube_imap $this->ssl = $use_ssl; if ($this->conn->connected()) { - // print trace messages - if ($this->conn->message && ($this->debug_level & 8)) { - console($this->conn->message); - } // get namespace and delimiter $this->set_env(); - return true; } // write error log diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index d3742fe8e..10bc6d06b 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -85,7 +85,6 @@ class rcube_imap_generic { public $error; public $errornum; - public $message; public $data = array(); public $flags = array( 'SEEN' => '\\Seen', @@ -692,8 +691,6 @@ class rcube_imap_generic $this->parseCapability($matches[1], true); } - $this->message = $line; - // TLS connection if ($this->prefs['ssl_mode'] == 'tls' && $this->getCapability('STARTTLS')) { if (version_compare(PHP_VERSION, '5.1.0', '>=')) {