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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
90bf2307
Commit
90bf2307
authored
Feb 06, 2008
by
ghendricks%novell.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 414712 â Hook post_bug.cgi for post creation processing
patch by ghendricks@novell.com r=mkanat a=mkanat
parent
6222da86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
post_bug.cgi
post_bug.cgi
+3
-0
No files found.
post_bug.cgi
View file @
90bf2307
...
...
@@ -36,6 +36,7 @@ use Bugzilla::Error;
use
Bugzilla::
Bug
;
use
Bugzilla::
User
;
use
Bugzilla::
Field
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Product
;
use
Bugzilla::
Component
;
use
Bugzilla::
Keyword
;
...
...
@@ -244,6 +245,8 @@ $vars->{'mailrecipients'} = {'changer' => $user->login};
$vars
->
{
'id'
}
=
$id
;
$vars
->
{
'bug'
}
=
$bug
;
Bugzilla::Hook::
process
(
"post_bug-after_creation"
,
{
vars
=>
$vars
});
ThrowCodeError
(
"bug_error"
,
{
bug
=>
$bug
})
if
$bug
->
error
;
$vars
->
{
'sentmail'
}
=
[]
;
...
...
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