aboutsummaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-11-24 06:09:41 +0000
committermkanat%bugzilla.org <>2009-11-24 06:09:41 +0000
commit5fc80f94271780b6ff6d1dbba554df35e803ac51 (patch)
treeebc3f2bc12bb32ab280cacb1cd88b35001fb2c0e /post_bug.cgi
parent78413d851910175fcc8aef2249be377cab7dd7e8 (diff)
downloadbugs-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar
bugs-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar.gz
bugs-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar.bz2
bugs-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar.xz
bugs-5fc80f94271780b6ff6d1dbba554df35e803ac51.zip
Bug 430014: Re-write the code hooks system so that it uses modules instead of individual .pl files
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index ed483aec9..c9de83bb7 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -254,7 +254,7 @@ $vars->{'mailrecipients'} = {'changer' => $user->login};
$vars->{'id'} = $id;
$vars->{'bug'} = $bug;
-Bugzilla::Hook::process("post_bug-after_creation", { vars => $vars });
+Bugzilla::Hook::process('post_bug_after_creation', { vars => $vars });
ThrowCodeError("bug_error", { bug => $bug }) if $bug->error;