diff options
Diffstat (limited to 'lib/mail.php')
-rw-r--r-- | lib/mail.php | 4 |
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); } |