summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-10-12 03:01:34 +0200
committerlpsolit%gmail.com <>2007-10-12 03:01:34 +0200
commit52fecc3e11f934046e721bd18cd05f746bd8166f (patch)
tree535f59777e4ff557380180ca01a0c832fd3bc2b2 /Bugzilla
parentb81b1e0b8d33218763713847de859db9c00dff0a (diff)
downloadbugzilla-52fecc3e11f934046e721bd18cd05f746bd8166f.tar.gz
bugzilla-52fecc3e11f934046e721bd18cd05f746bd8166f.tar.xz
Bug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() after executing an extension - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Hook.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index 6b710f8b5..a9cfc649c 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -49,6 +49,8 @@ sub process {
do($extension.'/code/'.$name.'.pl');
ThrowCodeError('extension_invalid',
{ errstr => $@, name => $name, extension => $extension }) if $@;
+ # Flush stored data.
+ Bugzilla->hook_args({});
}
}