summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/subscribe.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/actions/subscribe.php b/actions/subscribe.php
index 4de831990..4a17e302f 100644
--- a/actions/subscribe.php
+++ b/actions/subscribe.php
@@ -83,14 +83,9 @@ class SubscribeAction extends Action {
$headers['To'] = $name . ' <' . $listenee->email . '>';
$headers['Subject'] = sprintf(_('%1$s is now listening to your notices on %2$s.'), $other->getBestName(),
common_config('site', 'name'));
- $body = sprintf(_('%1$s is now listening to your notices on %2$s.'), $long_name, common_config('site', 'name'));
- $body .= "\n\n";
- $body .= "\t".$other->profileurl;
- $body .= "\n\n";
- $body .= _('Faithfully yours, ');
- $body .= "\n";
- $body .= $config['site']['name'];
- $body .= "\n";
+ $body = sprintf(_("%1$s is now listening to your notices on %2$s.\n\n".
+ "\t3$s\n\n".
+ "Faithfully yours,\n%2$s\n"), $long_name, common_config('site', 'name'), $other->profileurl);
mail_send($recipients, $headers, $body);
}