diff options
author | mkanat%bugzilla.org <> | 2009-10-01 00:39:28 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-10-01 00:39:28 +0200 |
commit | 58787923c838e5a1fc90d3f98e27a443bb1e1122 (patch) | |
tree | 52c55649b3d9283985a5612393ad1a9276435f94 /post_bug.cgi | |
parent | 832be61ce419f06cc682e7afc07d9197592a6bf5 (diff) | |
download | bugzilla-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar.gz bugzilla-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar.xz |
Bug 509053: Implement Bugzilla->feature (feature_enabled in the templates), and use it to detect when PatchReader is available.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index f3b31e9a8..323e005f4 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -240,12 +240,6 @@ if (defined($cgi->upload('data')) || $cgi->param('attachurl')) { else { $vars->{'message'} = 'attachment_creation_failed'; } - - # Determine if Patch Viewer is installed, for Diff link - eval { - require PatchReader; - $vars->{'patchviewerinstalled'} = 1; - }; } # Set bug flags. |