From 52fecc3e11f934046e721bd18cd05f746bd8166f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 12 Oct 2007 01:01:34 +0000 Subject: Bug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() after executing an extension - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Hook.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Bugzilla') 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({}); } } -- cgit v1.2.3-24-g4f1b