Permalink
Browse files

Remove MAIL_MIME behaviour - you must set the eol option instead

  • Loading branch information...
1 parent 1f81a56 commit fded6fa809c940f06e91ca567d7809939ece3c16 @CloCkWeRX CloCkWeRX committed Dec 9, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −2 Mail/Mime2.php
  2. +0 −2 Mail/MimePart2.php
View
@@ -177,8 +177,6 @@ function Mail_mime($params = array())
// Backward-compatible EOL setting
if (is_string($params)) {
$this->_build_params['eol'] = $params;
- } else if (defined('MAIL_MIME_CRLF') && !isset($params['eol'])) {
- $this->_build_params['eol'] = MAIL_MIME_CRLF;
}
// Update build parameters
View
@@ -162,8 +162,6 @@ public function __construct($body = '', $params = array())
{
if (!empty($params['eol'])) {
$this->_eol = $params['eol'];
- } else if (defined('MAIL_MIMEPART_CRLF')) { // backward-copat.
- $this->_eol = MAIL_MIMEPART_CRLF;
}
foreach ($params as $key => $value) {

0 comments on commit fded6fa

Please sign in to comment.