summaryrefslogtreecommitdiff
path: root/lib/mail.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php6
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);
}