Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -443,8 +443,8 @@ |
444 | 444 | */ |
445 | 445 | public function emailNotifyUsersOfChanges( $subject, $body ) { |
446 | 446 | // Give email notices to committer and commenters |
447 | | - global $wgCodeReviewENotif, $wgEnableEmail, $wgCodeReviewCommentWatcher, |
448 | | - $wgUser; |
| 447 | + global $wgCodeReviewENotif, $wgEnableEmail, $wgCodeReviewCommentWatcherEmail, |
| 448 | + $wgCodeReviewCommentWatcherName, $wgUser; |
449 | 449 | if ( !$wgCodeReviewENotif && !$wgEnableEmail ) { |
450 | 450 | return; |
451 | 451 | } |