MtDu has uploaded a new change for review.
https://gerrit.wikimedia.org/r/264588
Change subject: Deprecated use of 5th parameter in UserMailer::send
......................................................................
Deprecated use of 5th parameter in UserMailer::send
*In EmailBatch.php line 287
Bug: T123641
Change-Id: I7f75448b0f6839c6d104eedca0f0c2f7d0780337
---
M includes/EmailBatch.php
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/88/264588/1
diff --git a/includes/EmailBatch.php b/includes/EmailBatch.php
index a2b184c..3b54bc6 100644
--- a/includes/EmailBatch.php
+++ b/includes/EmailBatch.php
@@ -281,10 +281,9 @@
$toAddress = MailAddress::newFromUser( $this->mUser );
$fromAddress = new MailAddress( $wgNotificationSender,
EchoHooks::getNotificationSenderName() );
- $replyAddress = new MailAddress( $wgNotificationSender,
$wgNotificationReplyName );
// @Todo Push the email to job queue or just send it out
directly?
- UserMailer::send( $toAddress, $fromAddress, $subject, $body,
$replyAddress );
+ UserMailer::send( $toAddress, $fromAddress, $subject, $body );
MWEchoEventLogging::logSchemaEchoMail( $this->mUser,
$emailDeliveryMode );
}
--
To view, visit https://gerrit.wikimedia.org/r/264588
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f75448b0f6839c6d104eedca0f0c2f7d0780337
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: MtDu <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits