diff options
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 ); } /** |