summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template/Plugin')
-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) {