diff options
author | ghendricks%novell.com <> | 2008-12-18 18:18:18 +0100 |
---|---|---|
committer | ghendricks%novell.com <> | 2008-12-18 18:18:18 +0100 |
commit | f8e82d8447f1e1e51ec32c928d0a7c19b2d91d23 (patch) | |
tree | 09a69b7e734d4e5ddf78572e916093ee6272ee93 /editproducts.cgi | |
parent | f8a27359f31b44a6d93011a9ddd48261fd96d3b4 (diff) | |
download | bugzilla-f8e82d8447f1e1e51ec32c928d0a7c19b2d91d23.tar.gz bugzilla-f8e82d8447f1e1e51ec32c928d0a7c19b2d91d23.tar.xz |
Bug 419748 - Need to hook deleting products
patch by ghendricks@novell.com r=mkanat a=mkanat
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index fcca94838..01b497628 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -210,7 +210,9 @@ if ($action eq 'del') { } $vars->{'product'} = $product; $vars->{'token'} = issue_session_token('delete_product'); - + + Bugzilla::Hook::process("product-confirm_delete", { vars => $vars }); + $template->process("admin/products/confirm-delete.html.tmpl", $vars) || ThrowTemplateError($template->error()); exit; |