Revert bogus reversion
authorRob Church <robchurch@users.mediawiki.org>
Tue, 10 Jul 2007 08:10:04 +0000 (08:10 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 10 Jul 2007 08:10:04 +0000 (08:10 +0000)
includes/UserMailer.php

index 9c3e150..3529c15 100644 (file)
@@ -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) {