From 2ea95d0407070585a0ec4b2a05fa7881e897d24b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 18 Nov 2008 01:17:18 -0700 Subject: [PATCH] Now that the imap client lib is fixed, don't need these. --- imp/lib/Contents.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index 188a4cd01..8c646e261 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -192,7 +192,7 @@ class IMP_Contents $res = $GLOBALS['imp_imap']->ob->fetch($this->_mailbox, $query, array('ids' => array($this->_index))); return empty($options['mimeheaders']) ? $res[$this->_index]['bodypart'][$id] - : $res[$this->_index]['mimeheader'][$id] . "\r\n\r\n" . $res[$this->_index]['bodypart'][$id]; + : $res[$this->_index]['mimeheader'][$id] . $res[$this->_index]['bodypart'][$id]; } catch (Horde_Imap_Client_Exception $e) { $GLOBALS['imp_imap']->logException($e); return ''; @@ -215,7 +215,7 @@ class IMP_Contents Horde_Imap_Client::FETCH_HEADERTEXT => array(array('peek' => true)), Horde_Imap_Client::FETCH_BODYTEXT => array(array('peek' => true)) ), array('ids' => array($this->_index))); - return $res[$this->_index]['headertext'][0] . "\r\n\r\n" . $res[$this->_index]['bodytext'][0]; + return $res[$this->_index]['headertext'][0] . $res[$this->_index]['bodytext'][0]; } catch (Horde_Imap_Client_Exception $e) { $GLOBALS['imp_imap']->logException($e); return ''; -- 2.11.0