diff options
| author | mkanat%bugzilla.org <> | 2007-09-15 04:24:59 +0000 |
|---|---|---|
| committer | mkanat%bugzilla.org <> | 2007-09-15 04:24:59 +0000 |
| commit | 2327a1538d5d8fbe9c8f7728f350e37d74e584c3 (patch) | |
| tree | adcfdb85e42e3d9db8625ba6966cbb0b5f619342 /Bugzilla | |
| parent | 4421ce1c4788d8069a089b7eca1939c4052d8550 (diff) | |
| download | bugs-2327a1538d5d8fbe9c8f7728f350e37d74e584c3.tar bugs-2327a1538d5d8fbe9c8f7728f350e37d74e584c3.tar.gz bugs-2327a1538d5d8fbe9c8f7728f350e37d74e584c3.tar.bz2 bugs-2327a1538d5d8fbe9c8f7728f350e37d74e584c3.tar.xz bugs-2327a1538d5d8fbe9c8f7728f350e37d74e584c3.zip | |
Bug 394926: Support for disabling extensions (aka plugins)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=ghendricks, a=mkanat
Diffstat (limited to 'Bugzilla')
| -rw-r--r-- | Bugzilla/Hook.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index bdc26f6a2..a02d0d671 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -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'); |
