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 --- post_bug.cgi | 6 ------ 1 file changed, 6 deletions(-) (limited to 'post_bug.cgi') 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. -- cgit v1.2.3-24-g4f1b