summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-08-11 06:40:43 +0200
committermkanat%bugzilla.org <>2009-08-11 06:40:43 +0200
commit414d555411f5e055ab3a96efa91d43312d897d2a (patch)
treeffe0c1ee1cfc08bbafe9d10c0e01504ef87e1cad
parent2c7e92ec003d6c1a03c378d4118ef756686e4139 (diff)
downloadbugzilla-414d555411f5e055ab3a96efa91d43312d897d2a.tar.gz
bugzilla-414d555411f5e055ab3a96efa91d43312d897d2a.tar.xz
Bug 430011: Disabled extensions are still included in template include path
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
-rw-r--r--Bugzilla/Install/Util.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index 250ab9157..35a855e8d 100644
--- a/Bugzilla/Install/Util.pm
+++ b/Bugzilla/Install/Util.pm
@@ -187,6 +187,7 @@ sub template_include_path {
my @include_path;
my @extensions = glob(bz_locations()->{'extensionsdir'} . "/*");
foreach my $extension (@extensions) {
+ next if -e "$extension/disabled";
foreach my $lang (@usedlanguages) {
_add_language_set(\@include_path, $lang, "$extension/template");
}