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


git-svn-id: svn://10.0.0.236/trunk@259069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2009-11-24 06:09:55 +00:00
parent a94fa810d0
commit 98a5bbf59c
75 changed files with 1182 additions and 1349 deletions

View File

@@ -74,7 +74,7 @@ foreach my $panel (keys %$param_panels) {
my %hook_panels = map { $_->{name} => { params => $_->{param_list} } }
@panels;
# Note that this hook is also called in Bugzilla::Config.
Bugzilla::Hook::process('config-modify_panels', { panels => \%hook_panels });
Bugzilla::Hook::process('config_modify_panels', { panels => \%hook_panels });
$vars->{panels} = \@panels;