X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FUserMailer.php;h=b9ce9e0574d14122fc5fc1c9c0772a61658b8352;hb=bc77c6376f7833b575e95792e1574ea48165b91b;hp=5d5ed8552c43e85037e829805f3622bf95ca9085;hpb=f6cbdfb5e2c3ffc05858612e219a24e22bdbc72e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 5d5ed8552c..b9ce9e0574 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -152,6 +152,7 @@ class UserMailer { * @param $body String: email's text. * @param $replyto MailAddress: optional reply-to email (default: null). * @param $contentType String: optional custom Content-Type (default: text/plain; charset=UTF-8) + * @throws MWException * @return Status object */ public static function send( $to, $from, $subject, $body, $replyto = null, $contentType = 'text/plain; charset=UTF-8' ) { @@ -272,7 +273,7 @@ class UserMailer { } wfRestoreWarnings(); return Status::newGood(); - } else { + } else { # # PHP mail() #