From 58787923c838e5a1fc90d3f98e27a443bb1e1122 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 30 Sep 2009 22:39:28 +0000 Subject: Bug 509053: Implement Bugzilla->feature (feature_enabled in the templates), and use it to detect when PatchReader is available. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- attachment.cgi | 6 ------ 1 file changed, 6 deletions(-) (limited to 'attachment.cgi') 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") -- cgit v1.2.3-24-g4f1b