From 5c003fcc3ee164e92295f8518ca90eec0196a30c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 13 Sep 2017 09:03:50 -0400 Subject: Bug 1398889 - Add param 'silent_users' that never trigger sending bugmail * Add param silent_users * Add method is_silent_user to User class, which returns true if the login name matches an entry in silent_users. * Change user_wants_mail() to return false if the changer is a silent user. * Change is_global_watcher() in User class code to use any instead of grep * Change regex used to parse param 'globalwatchers' to use consistent regex in BugMail.pm and User.pm --- Bugzilla/Config/MTA.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Bugzilla/Config') diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm index a12b425e2..c23c324d9 100644 --- a/Bugzilla/Config/MTA.pm +++ b/Bugzilla/Config/MTA.pm @@ -106,6 +106,11 @@ sub get_param_list { type => 't', default => '', }, + { + name => 'silent_users', + type => 't', + default => '', + }, ); return @param_list; } -- cgit v1.2.3-24-g4f1b