r23927 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r23926
|
r23927
|
r23928
>
Date:
22:12, 9 July 2007
Author:
simetrical
Status:
old
Tags:
Comment:
Okay, use named constants that are actually equivalent to what they replace. But still use named constants. (Thanks, Raymond)
Modified paths:
/trunk/phase3/includes/UserMailer.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/UserMailer.php
—
—
@@ -240,7 +240,7 @@
241
241
global $wgEnotifUseJobQ;
242
242
global $wgEnotifWatchlist, $wgShowUpdatedMarker;
243
243
244
- if( $title->getNamespace() == NS_SPECIAL )
244
+ if( in_array( $title->getNamespace(), array(NS_SPECIAL, NS_MEDIA) ) )
245
245
return;
246
246
247
247
if ($wgEnotifUseJobQ) {
Follow-up revisions
Revision
Commit summary
Author
Date
r24096
Merged revisions 23910-24094 via svnmerge from...
david
22:38, 14 July 2007
Status & tagging log
15:19, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r23927
[
removed:
ok
added:
old]