diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-20 02:48:24 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-20 02:48:24 -0400 |
commit | f72329a13d7061e891e8b778abe76408166346a9 (patch) | |
tree | bb347bf1c93626073e1caa8d455efb2c3b5556da /lib | |
parent | 940b14952aca8490d7ad854f3356554edfc3a58c (diff) |
whitespace and debugging changes
darcs-hash:20080620064824-84dde-1d349cf2add75fbffa7cc763fb5ac8776cce4d03.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mail.php | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |