summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-03-29 05:51:07 +0100
committerlpsolit%gmail.com <>2008-03-29 05:51:07 +0100
commit5ab19a8c7fba4fd2d926674af2f379ae2a237e86 (patch)
treebe25ec53afabe6e66b70d832542d6dd16494318f /Bugzilla
parent1d505b299eca198af30c201f65a2cccd5dc6722e (diff)
downloadbugzilla-5ab19a8c7fba4fd2d926674af2f379ae2a237e86.tar.gz
bugzilla-5ab19a8c7fba4fd2d926674af2f379ae2a237e86.tar.xz
Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush template_include_path_ correctly - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index e9b6c3b9c..b35491f78 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -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;
}