Bug 394926: Support for disabling extensions (aka plugins)

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@236010 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2007-09-14 23:24:59 +00:00
parent 91accd0d6a
commit 73e35ac6b0

View File

@ -41,6 +41,7 @@ sub process {
# If there's malicious data here, we have much bigger issues to
# worry about, so we can safely detaint them:
trick_taint($extension);
next if -e "$extension/disabled";
if (-e $extension.'/code/'.$name.'.pl') {
Bugzilla->hook_args($args);
do($extension.'/code/'.$name.'.pl');