]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush template_include...
authorlpsolit%gmail.com <>
Sat, 29 Mar 2008 04:54:14 +0000 (04:54 +0000)
committerlpsolit%gmail.com <>
Sat, 29 Mar 2008 04:54:14 +0000 (04:54 +0000)
Bugzilla/Template.pm

index a29557d4f3b1d55c4d2590387fbfa65e3e84616c..53e23c5c35c0489cfb81da3c785348e784e89922 100644 (file)
@@ -922,6 +922,9 @@ sub precompile_templates {
 
     # If anything created a Template object before now, clear it out.
     delete Bugzilla->request_cache->{template};
+    # This is the single variable used to precompile templates,
+    # which needs to be cleared as well.
+    delete Bugzilla->request_cache->{template_include_path_};
 }
 
 # Helper for precompile_templates