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:
072423b
)
(bug 16429) "nominornewtalk" should not trigger e-mail notifications
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 Jan 2009 21:32:00 +0000
(21:32 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 Jan 2009 21:32:00 +0000
(21:32 +0000)
includes/UserMailer.php
patch
|
blob
|
history
diff --git
a/includes/UserMailer.php
b/includes/UserMailer.php
index
3018f4c
..
731648c
100644
(file)
--- a/
includes/UserMailer.php
+++ b/
includes/UserMailer.php
@@
-342,7
+342,7
@@
class EmailNotification {
$userTalkId = false;
- if (
(!$minorEdit || $wgEnotifMinorEdits
) ) {
+ if (
!$minorEdit || ($wgEnotifMinorEdits && !$editor->isAllowed('nominornewtalk')
) ) {
if ( $wgEnotifUserTalk && $isUserTalkPage ) {
$targetUser = User::newFromName( $title->getText() );
if ( !$targetUser || $targetUser->isAnon() ) {