From 084bb851aadf81b60d37016162a79bb02bc0b7c3 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 21 Sep 2011 11:57:15 +0100 Subject: [PATCH] Make im confirmation codes work instead of sending an invalid URL --- lib/implugin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/implugin.php b/lib/implugin.php index d096c41a28..5badf53433 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -258,7 +258,6 @@ abstract class ImPlugin extends Plugin */ function sendConfirmationCode($screenname, $code, $user) { - // @todo FIXME: parameter 4 is not being used. Should para3 and para4 be a markdown link? // TRANS: Body text for confirmation code e-mail. // TRANS: %1$s is a user nickname, %2$s is the StatusNet sitename, // TRANS: %3$s is the display name of an IM plugin. @@ -268,7 +267,7 @@ abstract class ImPlugin extends Plugin ' . (If you cannot click it, copy-and-paste it into the ' . 'address bar of your browser). If that user is not you, ' . 'or if you did not request this confirmation, just ignore this message.'), - $user->nickname, common_config('site', 'name'), $this->getDisplayName(), common_local_url('confirmaddress', array('code' => $code))); + $user->nickname, common_config('site', 'name'), $this->getDisplayName(), common_local_url('confirmaddress', null, array('code' => $code))); return $this->sendMessage($screenname, $body); } -- 2.39.5