From: Rob Church Date: Tue, 10 Jul 2007 08:10:04 +0000 (+0000) Subject: Revert bogus reversion X-Git-Tag: 1.31.0-rc.0~52169 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=153a4e9b87090c0c130baa2499671c0e019a17b5;p=lhc%2Fweb%2Fwiklou.git Revert bogus reversion --- 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) {