summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mail.php b/lib/mail.php
index e627730a7..313040ca2 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -85,8 +85,8 @@ function mail_to_user(&$user, $subject, $body, $address=NULL) {
# For confirming a Jabber address
-function mail_confirm_address($code, $nickname, $address) {
- $user = common_current_user();
+function mail_confirm_address($user, $code, $nickname, $address) {
+
$subject = _('Email address confirmation');
$body = sprintf(_("Hey, %s.\n\nSomeone just entered this email address on %s.\n\n" .