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 /attachment.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 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/attachment.cgi b/attachment.cgi index 2e952746e..be82294d7 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -86,12 +86,6 @@ if ($action ne 'view') { Bugzilla->login(); } -# Determine if PatchReader is installed -eval { - require PatchReader; - $vars->{'patchviewerinstalled'} = 1; -}; - # When viewing an attachment, do not request credentials if we are on # the alternate host. Let view() decide when to call Bugzilla->login. if ($action eq "view") |