Permalink
Browse files

Removing dead code in EmailComponent.

Fixes #1248
  • Loading branch information...
1 parent d5f582b commit b86bec14b5b6ec56cfe0a097cce170bf4aefcf8f @markstory markstory committed Oct 31, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 cake/libs/controller/components/email.php
View
5 cake/libs/controller/components/email.php
@@ -945,11 +945,6 @@ function _debug() {
} else {
$to = $this->to;
}
- if ($this->delivery == 'smtp') {
- $fm .= sprintf('%s %s%s', 'Host:', $this->smtpOptions['host'], $nl);
- $fm .= sprintf('%s %s%s', 'Port:', $this->smtpOptions['port'], $nl);
- $fm .= sprintf('%s %s%s', 'Timeout:', $this->smtpOptions['timeout'], $nl);
- }
$fm .= sprintf('%s %s%s', 'To:', $to, $nl);
$fm .= sprintf('%s %s%s', 'From:', $this->from, $nl);
$fm .= sprintf('%s %s%s', 'Subject:', $this->_encode($this->subject), $nl);

0 comments on commit b86bec1

Please sign in to comment.