summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-02-25 10:33:17 +0100
committerByron Jones <bjones@mozilla.com>2013-02-25 10:33:17 +0100
commit6982af2deb77df81743503147bd430895ba55219 (patch)
tree049f5c5b870a9703b5012dacd7001ec2cd0896ee /Bugzilla/BugMail.pm
parentf4cfef3444af5f2212f320561e54a12628815f50 (diff)
downloadbugzilla-6982af2deb77df81743503147bd430895ba55219.tar.gz
bugzilla-6982af2deb77df81743503147bd430895ba55219.tar.xz
Bug 844724: updates for the push extension
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 696db5ceb..ea79947b8 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -294,7 +294,9 @@ sub Send {
# happen after the bugmail_recipients hook.
if ($user->email_enabled && $dep_ok &&
($user->login !~ /bugs$/) &&
- ($user->login !~ /\.tld$/))
+ # sync-1@bugzilla.tld here is a temporary hack, see bug 844724
+ ($user->login eq 'sync-1@bugzilla.tld' || $user->login !~ /\.tld$/))
+
{
# OK, OK, if we must. Email the user.