Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
3ce4a388
Commit
3ce4a388
authored
Sep 26, 1999
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't send email notification of bug changes to people who aren't allowed to see that bug.
parent
ee401d62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
processmail
processmail
+6
-3
No files found.
processmail
View file @
3ce4a388
...
...
@@ -150,7 +150,7 @@ sub GetBugText {
"bug_status"
,
"resolution"
,
"priority"
,
"bug_severity"
,
"area"
,
"assigned_to"
,
"reporter"
,
"bug_file_loc"
,
"short_desc"
,
"component"
,
"qa_contact"
,
"target_milestone"
,
"status_whiteboard"
);
"status_whiteboard"
,
"groupset"
);
my
$query
=
"select "
.
join
(
", "
,
@collist
)
.
" from bugs where bug_id = $id"
;
...
...
@@ -224,9 +224,12 @@ sub fixaddresses {
if
(
$i
eq
""
)
{
next
;
}
SendSQL
(
"select emailnotification from profiles where login_name = "
.
SendSQL
(
"select emailnotification
, groupset & $::bug{'groupset'}
from profiles where login_name = "
.
SqlQuote
(
$i
));
my
$emailnotification
=
FetchOneColumn
();
my
(
$emailnotification
,
$groupset
)
=
(
FetchSQLData
());
if
(
$groupset
ne
$::bug
{
'groupset'
})
{
next
;
}
if
(
$emailnotification
eq
"CConly"
)
{
if
(
$field
ne
"cc"
)
{
next
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment