From: Jeroen De Dauw Date: Wed, 27 Jul 2011 15:58:56 +0000 (+0000) Subject: small style tweaks X-Git-Tag: 1.31.0-rc.0~28594 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=eb3cb586d3a150fe6649b04ae63770c85a144a26;p=lhc%2Fweb%2Fwiklou.git small style tweaks --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index e0b602a6f6..9323e0d24b 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -167,7 +167,7 @@ class UserMailer { $headers['To'] = 'undisclosed-recipients:;'; } else { - $headers['To'] = implode( ", ", (array )$dest ); + $headers['To'] = implode( ', ', (array)$dest ); } if ( $replyto ) { @@ -215,14 +215,14 @@ class UserMailer { } $headers = array( - "MIME-Version: 1.0", + 'MIME-Version: 1.0', "Content-type: $contentType", - "Content-Transfer-Encoding: 8bit", - "X-Mailer: MediaWiki mailer", - "From: " . $from->toString(), + 'Content-Transfer-Encoding: 8bit', + 'X-Mailer: MediaWiki mailer', + 'From: ' . $from->toString(), ); if ( $replyto ) { - $headers[] = "Reply-To: " . $replyto->toString(); + $headers[] = 'Reply-To: ' . $replyto->toString(); } $headers = implode( $endl, $headers ); @@ -386,13 +386,14 @@ class EmailNotification { if ( $wgEnotifUseJobQ ) { $params = array( - "editor" => $editor->getName(), - "editorID" => $editor->getID(), - "timestamp" => $timestamp, - "summary" => $summary, - "minorEdit" => $minorEdit, - "oldid" => $oldid, - "watchers" => $watchers ); + 'editor' => $editor->getName(), + 'editorID' => $editor->getID(), + 'timestamp' => $timestamp, + 'summary' => $summary, + 'minorEdit' => $minorEdit, + 'oldid' => $oldid, + 'watchers' => $watchers + ); $job = new EnotifNotifyJob( $title, $params ); $job->insert(); } else {