Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't add users to monitoring list when resolving an issue as duplicate
Fixes #23420
  • Loading branch information
atrol committed Oct 3, 2017
1 parent e3d2686 commit b49e3d4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bug_update.php
Expand Up @@ -402,15 +402,6 @@
# Add a duplicate relationship if requested.
if( $t_updated_bug->duplicate_id != 0 ) {
relationship_upsert( $f_bug_id, $t_updated_bug->duplicate_id, BUG_DUPLICATE, /* email_for_source */ false );

if( user_exists( $t_existing_bug->reporter_id ) ) {
bug_monitor( $f_bug_id, $t_existing_bug->reporter_id );
}

if( user_exists( $t_existing_bug->handler_id ) ) {
bug_monitor( $f_bug_id, $t_existing_bug->handler_id );
}

bug_monitor_copy( $f_bug_id, $t_updated_bug->duplicate_id );
}

Expand Down

0 comments on commit b49e3d4

Please sign in to comment.