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 @@
241241 global $wgEnotifUseJobQ;
242242 global $wgEnotifWatchlist, $wgShowUpdatedMarker;
243243
244 - if( $title->getNamespace() == NS_SPECIAL )
 244+ if( in_array( $title->getNamespace(), array(NS_SPECIAL, NS_MEDIA) ) )
245245 return;
246246
247247 if ($wgEnotifUseJobQ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r24096Merged revisions 23910-24094 via svnmerge from...david22:38, 14 July 2007

Status & tagging log