Remove unused code

pull/5754/head
Aleksander Machniak 9 years ago
parent e2ca2e1d08
commit 2168a337c1

@ -45,30 +45,9 @@ class enigma_mime_message extends Mail_mime
// clone headers // clone headers
$this->headers = $message->headers(); $this->headers = $message->headers();
/*
if ($message->getParam('delay_file_io')) {
// use common temp dir
$temp_dir = $this->config->get('temp_dir');
$body_file = tempnam($temp_dir, 'rcmMsg');
$mime_result = $message->saveMessageBody($body_file);
if (is_a($mime_result, 'PEAR_Error')) {
self::raise_error(array('code' => 650, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => "Could not create message: ".$mime_result->getMessage()),
true, false);
return false;
}
$msg_body = fopen($body_file, 'r');
}
else {
*/
// \r\n is must-have here // \r\n is must-have here
$this->body = $message->get() . "\r\n"; $this->body = $message->get() . "\r\n";
/*
}
*/
} }
/** /**

Loading…
Cancel
Save