Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -342,7 +342,7 @@ |
343 | 343 | |
344 | 344 | $userTalkId = false; |
345 | 345 | |
346 | | - if ( (!$minorEdit || $wgEnotifMinorEdits) ) { |
| 346 | + if ( !$minorEdit || ($wgEnotifMinorEdits && !$editor->isAllowed('nominornewtalk') ) ) { |
347 | 347 | if ( $wgEnotifUserTalk && $isUserTalkPage ) { |
348 | 348 | $targetUser = User::newFromName( $title->getText() ); |
349 | 349 | if ( !$targetUser || $targetUser->isAnon() ) { |