Sbisson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/228353

Change subject: Fix usage of UserMailer::Send to use new signature
......................................................................

Fix usage of UserMailer::Send to use new signature

Change-Id: I41aba8a2d5381df9845eb31c0d1d63ee9834acec
---
M Notifier.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/53/228353/1

diff --git a/Notifier.php b/Notifier.php
index fa4dcb1..fd45b1b 100644
--- a/Notifier.php
+++ b/Notifier.php
@@ -100,8 +100,9 @@
                                $email = 
EchoNotificationController::formatNotification( $event, $user, 'email', 'email' 
);
                                $subject = $email['subject'];
                                $body = $email['body'];
+                               $options = array( 'replyTo' => $replyAddress );
 
-                               UserMailer::send( $toAddress, $fromAddress, 
$subject, $body, $replyAddress );
+                               UserMailer::send( $toAddress, $fromAddress, 
$subject, $body, $options );
                                MWEchoEventLogging::logSchemaEchoMail( $user, 
'single' );
                        }
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/228353
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I41aba8a2d5381df9845eb31c0d1d63ee9834acec
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Sbisson <sbis...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to