Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -373,14 +373,6 @@ |
374 | 374 | |
375 | 375 | //Notify commenters and revision author of followup revision |
376 | 376 | foreach ( $users as $user ) { |
377 | | - // Notify user with its own message if he already want |
378 | | - // to be CCed of all emails it sends. |
379 | | - if ( $commitAuthorId == $user->getId() ) { |
380 | | - if(! $user->getBoolOption( 'ccmeonemails' ) ) { |
381 | | - continue; |
382 | | - } |
383 | | - } |
384 | | - |
385 | 377 | if ( $user->canReceiveEmail() ) { |
386 | 378 | // Send message in receiver's language |
387 | 379 | $lang = array( 'language' => $user->getOption( 'language' ) ); |
— | — | @@ -473,14 +465,6 @@ |
474 | 466 | } |
475 | 467 | |
476 | 468 | foreach ( $users as $user ) { |
477 | | - // Notify user with its own message if he already want |
478 | | - // to be CCed of all emails it sends. |
479 | | - if ( $wgUser->getId() == $user->getId() ) { |
480 | | - if(! $user->getBoolOption( 'ccmeonemails' ) ) { |
481 | | - continue; |
482 | | - } |
483 | | - } |
484 | | - |
485 | 469 | if ( $user->canReceiveEmail() ) { |
486 | 470 | // Send message in receiver's language |
487 | 471 | $lang = array( 'language' => $user->getOption( 'language' ) ); |