From 153a4e9b87090c0c130baa2499671c0e019a17b5 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 10 Jul 2007 08:10:04 +0000 Subject: [PATCH] Revert bogus reversion --- includes/UserMailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 9c3e1503a1..3529c151c1 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -239,8 +239,8 @@ class EmailNotification { function notifyOnPageChange($editor, &$title, $timestamp, $summary, $minorEdit, $oldid = false) { global $wgEnotifUseJobQ; global $wgEnotifWatchlist, $wgShowUpdatedMarker; - - if( in_array( $title->getNamespace(), array(NS_SPECIAL, NS_MEDIA) ) ) + + if( $title->getNamespace() < 0 ) return; if ($wgEnotifUseJobQ) { -- 2.20.1