diff options
author | lpsolit%gmail.com <> | 2008-10-06 23:30:56 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-10-06 23:30:56 +0200 |
commit | 3e75f78185fb9572c591c5117669d4b392d5cffa (patch) | |
tree | 23fa60b4d1c5c800888f0950c0e409a06dde696f /Bugzilla/Template/Plugin | |
parent | 66707beec7dff194e9926cc48e55a01a49fcb8f6 (diff) | |
download | bugzilla-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/Plugin')
-rw-r--r-- | Bugzilla/Template/Plugin/Hook.pm | 1 |
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) { |