From: Michael M Slusarz Date: Tue, 18 Nov 2008 08:17:18 +0000 (-0700) Subject: Now that the imap client lib is fixed, don't need these. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2ea95d0407070585a0ec4b2a05fa7881e897d24b;p=horde.git Now that the imap client lib is fixed, don't need these. --- 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 '';