diff options
author | lpsolit%gmail.com <> | 2008-10-06 21:30:56 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-10-06 21:30:56 +0000 |
commit | 3e75f78185fb9572c591c5117669d4b392d5cffa (patch) | |
tree | 23fa60b4d1c5c800888f0950c0e409a06dde696f /Bugzilla/Template | |
parent | Bug 457719: The "You need to _log in_ before you can comment..." link in show... (diff) | |
download | bugzilla-3e75f78185fb9572c591c5117669d4b392d5cffa.tar.gz bugzilla-3e75f78185fb9572c591c5117669d4b392d5cffa.tar.bz2 bugzilla-3e75f78185fb9572c591c5117669d4b392d5cffa.zip |
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.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) { |