Commit 11c9fb65 authored by vladd%bugzilla.org's avatar vladd%bugzilla.org

Bug 390040: Fix wrong file name for hook in customization.xml (documentation…

Bug 390040: Fix wrong file name for hook in customization.xml (documentation only) - Patch by Cédric Corazza <cedric.corazza@wanadoo.fr> r=vladd.
parent 6424be77
<!-- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> --> <!-- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
<chapter id="customization"> <chapter id="customization">
<title>Customising Bugzilla</title> <title>Customizing Bugzilla</title>
<section id="cust-skins"> <section id="cust-skins">
<title>Custom Skins</title> <title>Custom Skins</title>
...@@ -501,8 +501,8 @@ ...@@ -501,8 +501,8 @@
<para> <para>
Code hooks appear in Bugzilla source files as a single method call Code hooks appear in Bugzilla source files as a single method call
in the format <literal role="code">Bugzilla::Hook->process("<varname>name</varname>");</literal>. in the format <literal role="code">Bugzilla::Hook->process("<varname>name</varname>");</literal>.
for instance, <filename>enter_bug.cgi</filename> may invoke the hook For instance, <filename>enter_bug.cgi</filename> may invoke the hook
"<varname>enter_bug-defaultvars</varname>". Thus, a source file at "<varname>enter_bug-entrydefaultvars</varname>". Thus, a source file at
<filename>BUGZILLA_ROOT/extensions/EXTENSION_NAME/code/enter_bug-entrydefaultvars.pl</filename> <filename>BUGZILLA_ROOT/extensions/EXTENSION_NAME/code/enter_bug-entrydefaultvars.pl</filename>
will be automatically invoked when the code hook is reached. will be automatically invoked when the code hook is reached.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment