dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33db268
)
Okay, use named constants that are actually equivalent to what they replace. But...
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 9 Jul 2007 22:12:55 +0000
(22:12 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 9 Jul 2007 22:12:55 +0000
(22:12 +0000)
includes/UserMailer.php
patch
|
blob
|
history
diff --git
a/includes/UserMailer.php
b/includes/UserMailer.php
index
fc8bbbd
..
9c3e150
100644
(file)
--- a/
includes/UserMailer.php
+++ b/
includes/UserMailer.php
@@
-240,7
+240,7
@@
class EmailNotification {
global $wgEnotifUseJobQ;
global $wgEnotifWatchlist, $wgShowUpdatedMarker;
- if(
$title->getNamespace() == NS_SPECIAL
)
+ if(
in_array( $title->getNamespace(), array(NS_SPECIAL, NS_MEDIA) )
)
return;
if ($wgEnotifUseJobQ) {