From f72329a13d7061e891e8b778abe76408166346a9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 20 Jun 2008 02:48:24 -0400 Subject: whitespace and debugging changes darcs-hash:20080620064824-84dde-1d349cf2add75fbffa7cc763fb5ac8776cce4d03.gz --- lib/mail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/mail.php b/lib/mail.php index 23fd24b25..c1332ab2b 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -22,8 +22,8 @@ if (!defined('LACONICA')) { exit(1); } require_once('Mail.php'); function mail_backend() { - static $backend = NULL; - + static $backend = NULL; + if (!$backend) { global $config; $backend = Mail::factory($config['mail']['backend'], @@ -78,6 +78,6 @@ function mail_confirm_address($code, $nickname, $address) { $body .= "\n"; $body .= common_config('site', 'name'); $body .= "\n"; - + mail_send($recipients, $headers, $body); } -- cgit v1.2.3-54-g00ecf