r23922 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23921‎ | r23922 | r23923 >
Date:21:16, 9 July 2007
Author:simetrical
Status:old
Tags:
Comment:
Magic numbers are evil, use named constants.
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() < 0 )
 244+ if( $title->getNamespace() == NS_SPECIAL )
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