r85353 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85352‎ | r85353 | r85354 >
Date:18:15, 4 April 2011
Author:pdhanda
Status:deferred
Tags:
Comment:
Old patch for bug 28402
Modified paths:
  • /trunk/tools/bugzilla/bugzilla-4.0/Bugzilla/BugMail.pm (modified) (history)

Diff [purge]

Index: trunk/tools/bugzilla/bugzilla-4.0/Bugzilla/BugMail.pm
@@ -368,7 +368,10 @@
369369 foreach (@watchers) {
370370 my $watcher_id = login_to_id($_);
371371 next unless $watcher_id;
372 - $recipients{$watcher_id}->{+REL_GLOBAL_WATCHER} = BIT_DIRECT;
 372+ #$recipients{$watcher_id}->{+REL_GLOBAL_WATCHER} = BIT_DIRECT;
 373+ # Wikimedia Hack! Pretend global watchers are CCs so we can use their prefs
 374+ # to for instance ignore CC-only mails.
 375+ $recipients{$watcher_id}->{+REL_CC} = BIT_DIRECT;
373376 }
374377
375378 # We now have a complete set of all the users, and their relationships to

Status & tagging log