Demon has submitted this change and it was merged. Change subject: (bug 43130) Pretend global watchers are CCs so we can use their prefs ......................................................................
(bug 43130) Pretend global watchers are CCs so we can use their prefs This is a reapplying of the hack for Bugzilla 4.2. Previously applied to 4.0 in 99319f78d16bc15ef5bfa63135a95df5a102739d. See also http://www.gossamer-threads.com/lists/wiki/wikitech/318818#318818 Change-Id: I0344d24308d3b769410b78b1ab40badf6c0d5cc5 --- M bugzilla-4.2/Bugzilla/BugMail.pm 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: Demon: Verified; Looks good to me, approved Aklapper: Looks good to me, but someone else must approve diff --git a/bugzilla-4.2/Bugzilla/BugMail.pm b/bugzilla-4.2/Bugzilla/BugMail.pm index 55eeeab..66330d0 100644 --- a/bugzilla-4.2/Bugzilla/BugMail.pm +++ b/bugzilla-4.2/Bugzilla/BugMail.pm @@ -215,7 +215,10 @@ foreach (@watchers) { my $watcher_id = login_to_id($_); next unless $watcher_id; - $recipients{$watcher_id}->{+REL_GLOBAL_WATCHER} = BIT_DIRECT; + #$recipients{$watcher_id}->{+REL_GLOBAL_WATCHER} = BIT_DIRECT; + # Wikimedia Hack! Pretend global watchers are CCs so we can use their prefs + # to for instance ignore CC-only mails. + $recipients{$watcher_id}->{+REL_CC} = BIT_DIRECT; } # We now have a complete set of all the users, and their relationships to -- To view, visit https://gerrit.wikimedia.org/r/56879 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0344d24308d3b769410b78b1ab40badf6c0d5cc5 Gerrit-PatchSet: 2 Gerrit-Project: wikimedia/bugzilla/modifications Gerrit-Branch: master Gerrit-Owner: Matmarex <[email protected]> Gerrit-Reviewer: Aklapper <[email protected]> Gerrit-Reviewer: Demon <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
