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 --- process_bug.cgi | 7 ------- 1 file changed, 7 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index c0ee54938..36091b892 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -634,13 +634,6 @@ foreach my $bug (@bug_objects) { } } -# Determine if Patch Viewer is installed, for Diff link -# (NB: Duplicate code with show_bug.cgi.) -eval { - require PatchReader; - $vars->{'patchviewerinstalled'} = 1; -}; - if (Bugzilla->usage_mode == USAGE_MODE_EMAIL) { # Do nothing. } -- cgit v1.2.3-24-g4f1b