r111820 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r111819
|
r111820
|
r111821
>
Date:
10:57, 18 February 2012
Author:
hashar
Status:
reverted
Tags:
Comment:
(
bug 34421
) avoid duplicate Subject headers in mail
r93397
duplicated the Subject header since it was passed both as an
argument of mail() and in the additional headers array.
This is
r111765
done right.
Tested using both Pear and mail() methods.
Modified paths:
/trunk/phase3/includes/UserMailer.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/UserMailer.php
—
—
@@ -244,6 +244,8 @@
245
245
$endl = "\n";
246
246
}
247
247
248
+ # Subject header is unneeded since it an argument of mail()
249
+ unset( $headers['Subject'] );
248
250
$headers = self::arrayToHeaderString( $headers, $endl );
249
251
250
252
wfDebug( "Sending mail via internal mail() function\n" );
Sign-offs
User
Flag
Date
Hashar
tested
10:57, 18 February 2012
Follow-up revisions
Revision
Commit summary
Author
Date
r111832
(
bug 34421
) duplicate Subject / wrong To: headers in mail...
hashar
15:34, 18 February 2012
r111925
MFT to 1.19wmf1
r111832
...
hashar
13:32, 20 February 2012
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r93397
Reduce mail header differences by moving all the header creation code...
mah
16:56, 28 July 2011
r111765
(
bug 34421
) avoid duplicate Subject headers...
hashar
17:02, 17 February 2012
r111819
revert
r111765
bug 34421
avoid duplicate Subject headers...
hashar
10:37, 18 February 2012
Status & tagging log
15:26, 18 February 2012
Hashar
(
talk
|
contribs
)
changed the
tags
for r111820
[
removed:
1.19,1.19wmf1]
15:26, 18 February 2012
Hashar
(
talk
|
contribs
)
changed the
status
of r111820
[
removed:
new
added:
reverted]
10:58, 18 February 2012
Hashar
(
talk
|
contribs
)
changed the
tags
for r111820
[
added:
1.19,1.19wmf1]