diff options
author | Kunal Mehta <legoktm@member.fsf.org> | 2017-07-22 18:24:09 -0700 |
---|---|---|
committer | Kunal Mehta <legoktm@member.fsf.org> | 2017-07-22 18:24:09 -0700 |
commit | d1cf48a397edbbe9c6a63d6f83861d676f686d07 (patch) | |
tree | 5786bc42e1a7b5eb336040286b965ef262244195 /includes/mail/UserMailer.php | |
parent | de5e6e666945a8708bb3df48ac309e6d0d691e74 (diff) | |
download | mediawikicore-d1cf48a397edbbe9c6a63d6f83861d676f686d07.tar.gz mediawikicore-d1cf48a397edbbe9c6a63d6f83861d676f686d07.zip |
build: Update mediawiki/mediawiki-codesniffer to 0.10.1
And auto-fix all errors.
The `<exclude-pattern>` stanzas are now included in the default ruleset
and don't need to be repeated.
Change-Id: I928af549dc88ac2c6cb82058f64c7c7f3111598a
Diffstat (limited to 'includes/mail/UserMailer.php')
-rw-r--r-- | includes/mail/UserMailer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/mail/UserMailer.php b/includes/mail/UserMailer.php index 3858f27566ef..1f8489f7e3d4 100644 --- a/includes/mail/UserMailer.php +++ b/includes/mail/UserMailer.php @@ -175,18 +175,18 @@ class UserMailer { // first send to non-split address list, then to split addresses one by one $status = Status::newGood(); if ( $to ) { - $status->merge( UserMailer::sendInternal( + $status->merge( self::sendInternal( $to, $from, $subject, $body, $options ) ); } foreach ( $splitTo as $newTo ) { - $status->merge( UserMailer::sendInternal( + $status->merge( self::sendInternal( [ $newTo ], $from, $subject, $body, $options ) ); } return $status; } } - return UserMailer::sendInternal( $to, $from, $subject, $body, $options ); + return self::sendInternal( $to, $from, $subject, $body, $options ); } /** |