From 1c8ab4afee68da35dffeb4d309ff15ac6742cc41 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 9 Jul 2007 21:16:58 +0000 Subject: [PATCH] Magic numbers are evil, use named constants. --- includes/UserMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 6e6bbf0cf4..fc8bbbdbbb 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -240,7 +240,7 @@ class EmailNotification { global $wgEnotifUseJobQ; global $wgEnotifWatchlist, $wgShowUpdatedMarker; - if( $title->getNamespace() < 0 ) + if( $title->getNamespace() == NS_SPECIAL ) return; if ($wgEnotifUseJobQ) { -- 2.20.1