From 9e35fb26f7aa6c61819f1536189c0102fed29ad9 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 7 Nov 2010 17:29:30 -0800 Subject: lint --- mod/lostpass.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mod/lostpass.php') diff --git a/mod/lostpass.php b/mod/lostpass.php index 0b5dc1376..30bdc059c 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -35,9 +35,8 @@ function lostpass_post(&$a) { '$reset_link' => $a->get_baseurl() . '/lostpass?verify=' . $new_password )); - $res = mail($email,"Password reset requested at {$a->config['sitename']}",$email_tpl,"From: Administrator@{$_SERVER[SERVER_NAME]}"); - - + $res = mail($email, t('Password reset requested at ') . $a->config['sitename'], + $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME]); goaway($a->get_baseurl()); } -- cgit v1.2.3