From 9e2b84d406be322432cce65bfa16831718ba68c3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 5 Feb 2009 05:52:03 +0000 Subject: Minor code style changes. --- core/libraries/Sendmail.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'core/libraries') diff --git a/core/libraries/Sendmail.php b/core/libraries/Sendmail.php index e634a7a3..40fbdddf 100644 --- a/core/libraries/Sendmail.php +++ b/core/libraries/Sendmail.php @@ -40,7 +40,7 @@ class Sendmail_Core { public function __construct() { $this->headers = array(); - $config = Kohana::config('sendmail'); + $config = Kohana::config("sendmail"); foreach ($config as $key => $value) { $this->$key($value); } @@ -87,10 +87,8 @@ class Sendmail_Core { $headers[] = "$key: $value"; } - /* - * The docs say headers should be separated by \r\n, but occasionaly that doesn't work and you - * need to use a single \n. This can be set in config/sendmail.php - */ + // The docs say headers should be separated by \r\n, but occasionaly that doesn't work and you + // need to use a single \n. This can be set in config/sendmail.php $headers = implode($this->header_separator, $headers); $message = wordwrap($this->message, $this->line_length, "\n"); -- cgit v1.2.3