summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-21 00:49:07 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-21 00:49:07 +0200
commitbd8840d647ea4901b55c5b69838dd8c872adffa5 (patch)
tree41ecca9e7c8b887da76bb83b0f6ef6fbeb974e22 /Bugzilla/Template.pm
parent7c94f7af271125fef6224ebe166d645085e349b8 (diff)
downloadbugzilla-bd8840d647ea4901b55c5b69838dd8c872adffa5.tar.gz
bugzilla-bd8840d647ea4901b55c5b69838dd8c872adffa5.tar.xz
Bug 605425: Non-english templates are no longer precompiled by checksetup
r/a=mkanat
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 46a4b6b72..e2d5280e8 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -1017,7 +1017,8 @@ sub precompile_templates {
print install_string('template_precompile') if $output;
- my $paths = template_include_path();
+ # Pre-compile all available languages.
+ my $paths = template_include_path({ language => Bugzilla->languages });
foreach my $dir (@$paths) {
my $template = Bugzilla::Template->create(include_path => [$dir]);