]> 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:01:34 +0000 (01:01 +0000)
committerlpsolit%gmail.com <>
Fri, 12 Oct 2007 01:01:34 +0000 (01:01 +0000)
Bugzilla/Hook.pm

index 6b710f8b5c0caa0385b938c81bdf71d479628ccd..a9cfc649ce16e185ab04238e72ad3dc03470afb4 100644 (file)
@@ -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({});
         }
     }