]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() after execu...
authorlpsolit%gmail.com <>
Fri, 12 Oct 2007 01:02:44 +0000 (01:02 +0000)
committerlpsolit%gmail.com <>
Fri, 12 Oct 2007 01:02:44 +0000 (01:02 +0000)
Bugzilla/Hook.pm

index 3e784bd0ed02856a3e3a895474d091feaba965cf..8ce2d4bd1317efa860560c90426307afa94f36c9 100644 (file)
@@ -46,6 +46,8 @@ sub process {
             do($extension.'/code/'.$name.'.pl');
             ThrowCodeError('extension_invalid', 
                 { errstr => $@, name => $name, extension => $extension }) if $@;
+            # Flush stored data.
+            Bugzilla->hook_args({});
         }
     }