Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -167,7 +167,7 @@ |
168 | 168 | $headers['To'] = 'undisclosed-recipients:;'; |
169 | 169 | } |
170 | 170 | else { |
171 | | - $headers['To'] = implode( ", ", (array )$dest ); |
| 171 | + $headers['To'] = implode( ', ', (array)$dest ); |
172 | 172 | } |
173 | 173 | |
174 | 174 | if ( $replyto ) { |
— | — | @@ -215,14 +215,14 @@ |
216 | 216 | } |
217 | 217 | |
218 | 218 | $headers = array( |
219 | | - "MIME-Version: 1.0", |
| 219 | + 'MIME-Version: 1.0', |
220 | 220 | "Content-type: $contentType", |
221 | | - "Content-Transfer-Encoding: 8bit", |
222 | | - "X-Mailer: MediaWiki mailer", |
223 | | - "From: " . $from->toString(), |
| 221 | + 'Content-Transfer-Encoding: 8bit', |
| 222 | + 'X-Mailer: MediaWiki mailer', |
| 223 | + 'From: ' . $from->toString(), |
224 | 224 | ); |
225 | 225 | if ( $replyto ) { |
226 | | - $headers[] = "Reply-To: " . $replyto->toString(); |
| 226 | + $headers[] = 'Reply-To: ' . $replyto->toString(); |
227 | 227 | } |
228 | 228 | |
229 | 229 | $headers = implode( $endl, $headers ); |
— | — | @@ -386,13 +386,14 @@ |
387 | 387 | |
388 | 388 | if ( $wgEnotifUseJobQ ) { |
389 | 389 | $params = array( |
390 | | - "editor" => $editor->getName(), |
391 | | - "editorID" => $editor->getID(), |
392 | | - "timestamp" => $timestamp, |
393 | | - "summary" => $summary, |
394 | | - "minorEdit" => $minorEdit, |
395 | | - "oldid" => $oldid, |
396 | | - "watchers" => $watchers ); |
| 390 | + 'editor' => $editor->getName(), |
| 391 | + 'editorID' => $editor->getID(), |
| 392 | + 'timestamp' => $timestamp, |
| 393 | + 'summary' => $summary, |
| 394 | + 'minorEdit' => $minorEdit, |
| 395 | + 'oldid' => $oldid, |
| 396 | + 'watchers' => $watchers |
| 397 | + ); |
397 | 398 | $job = new EnotifNotifyJob( $title, $params ); |
398 | 399 | $job->insert(); |
399 | 400 | } else { |