Commit 5ab19a8c authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush…

Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush template_include_path_ correctly - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 1d505b29
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment