summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-10-06 23:30:56 +0200
committerlpsolit%gmail.com <>2008-10-06 23:30:56 +0200
commit3e75f78185fb9572c591c5117669d4b392d5cffa (patch)
tree23fa60b4d1c5c800888f0950c0e409a06dde696f /Bugzilla/Template
parent66707beec7dff194e9926cc48e55a01a49fcb8f6 (diff)
downloadbugzilla-3e75f78185fb9572c591c5117669d4b392d5cffa.tar.gz
bugzilla-3e75f78185fb9572c591c5117669d4b392d5cffa.tar.xz
Bug 457480: Bugzilla/Template/Plugin/Hook.pm does not respect disabled flag - Patch by Alex Eiser <aeiser@arc.nasa.gov> r/a=mkanat
Diffstat (limited to 'Bugzilla/Template')
-rw-r--r--Bugzilla/Template/Plugin/Hook.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Template/Plugin/Hook.pm b/Bugzilla/Template/Plugin/Hook.pm
index 05a1fdfd1..99ece0880 100644
--- a/Bugzilla/Template/Plugin/Hook.pm
+++ b/Bugzilla/Template/Plugin/Hook.pm
@@ -68,6 +68,7 @@ sub process {
my @extensions = glob(bz_locations()->{'extensionsdir'} . "/*");
my @usedlanguages = include_languages({use_languages => Bugzilla->languages});
foreach my $extension (@extensions) {
+ next if -e "$extension/disabled";
foreach my $language (@usedlanguages) {
my $file = $extension.'/template/'.$language.'/'.$extensiontemplate;
if (-e $file) {