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 /template/en/default/admin | |
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 'template/en/default/admin')
-rw-r--r-- | template/en/default/admin/params/mta.html.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/admin/params/mta.html.tmpl b/template/en/default/admin/params/mta.html.tmpl index 05c44853e..88d8ef981 100644 --- a/template/en/default/admin/params/mta.html.tmpl +++ b/template/en/default/admin/params/mta.html.tmpl @@ -73,6 +73,8 @@ "Set to 0 to disable whining.", globalwatchers => "A comma-separated list of users who should receive a " _ - "copy of every notification mail the system sends." } + "copy of every notification mail the system sends.", + + silent_users => "A comma-separated list of users who never trigger sending email." } %] |