diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-09-13 15:03:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 15:03:50 +0200 |
commit | 5c003fcc3ee164e92295f8518ca90eec0196a30c (patch) | |
tree | d92254cd59e3f97f4b3fcf42e09715c0ccd286b4 /Bugzilla/Config | |
parent | 90757225b25c4eab4b4f4b9296c63746c710721d (diff) | |
download | bugzilla-5c003fcc3ee164e92295f8518ca90eec0196a30c.tar.gz bugzilla-5c003fcc3ee164e92295f8518ca90eec0196a30c.tar.xz |
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
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/MTA.pm | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |