summaryrefslogtreecommitdiff
path: root/lib/mail.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-04-20 13:52:18 +0200
committerBrion Vibber <brion@pobox.com>2010-04-20 13:52:18 +0200
commit61098faf5dd2685ea00c110bb4a3c871da17a300 (patch)
tree802849c215ddcc93beada58f4c80c2a4ca1aa763 /lib/mail.php
parent32918bb7c18c6c098a16e88d169099c6ce371dfe (diff)
parentc48caa85e12063c2df9913957dbd11af6b5e3ea6 (diff)
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mail.php b/lib/mail.php
index c38d9f2f5..5fc584e28 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -636,7 +636,7 @@ function mail_notify_attn($user, $notice)
$bestname = $sender->getBestName();
- common_init_locale($user->language);
+ common_switch_locale($user->language);
if ($notice->hasConversation()) {
$conversationUrl = common_local_url('conversation',
@@ -679,7 +679,7 @@ function mail_notify_attn($user, $notice)
$headers = _mail_prepare_headers('mention', $user->nickname, $sender->nickname);
- common_init_locale();
+ common_switch_locale();
mail_to_user($user, $subject, $body, $headers);
}