From b18384211d10c30f9e40bfc39018e1824093b05a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 2 Jan 2009 21:32:00 +0000 Subject: [PATCH] (bug 16429) "nominornewtalk" should not trigger e-mail notifications --- includes/UserMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 3018f4c592..731648cff9 100644 --- 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() ) { -- 2.20.1