]> 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:51:07 +0000 (04:51 +0000)
committerlpsolit%gmail.com <>
Sat, 29 Mar 2008 04:51:07 +0000 (04:51 +0000)
Bugzilla/Template.pm

index e9b6c3b9cf7fe9e093289b233cc2dffad1c96f83..b35491f78daadcbfdf912fe13c808280ccb9a05d 100644 (file)
@@ -826,6 +826,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_};
 
     print install_string('done') . "\n" if $output;
 }