diff options
author | ghendricks%novell.com <> | 2008-12-18 17:18:18 +0000 |
---|---|---|
committer | ghendricks%novell.com <> | 2008-12-18 17:18:18 +0000 |
commit | f8e82d8447f1e1e51ec32c928d0a7c19b2d91d23 (patch) | |
tree | 09a69b7e734d4e5ddf78572e916093ee6272ee93 /editproducts.cgi | |
parent | Bug 419496 - Cannot easily share saved searches (diff) | |
download | bugzilla-f8e82d8447f1e1e51ec32c928d0a7c19b2d91d23.tar.gz bugzilla-f8e82d8447f1e1e51ec32c928d0a7c19b2d91d23.tar.bz2 bugzilla-f8e82d8447f1e1e51ec32c928d0a7c19b2d91d23.zip |
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; |