summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-10-01 00:39:28 +0200
committermkanat%bugzilla.org <>2009-10-01 00:39:28 +0200
commit58787923c838e5a1fc90d3f98e27a443bb1e1122 (patch)
tree52c55649b3d9283985a5612393ad1a9276435f94 /attachment.cgi
parent832be61ce419f06cc682e7afc07d9197592a6bf5 (diff)
downloadbugzilla-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-xattachment.cgi6
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")