Merged BugsSite to Bugzilla-3.2.3

        Updated to the latest-and-greatest stable version.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/BugsSite/duplicates.cgi b/BugsSite/duplicates.cgi
index e393d7c..06334e2 100755
--- a/BugsSite/duplicates.cgi
+++ b/BugsSite/duplicates.cgi
@@ -27,7 +27,7 @@
 
 use AnyDBM_File;
 
-use lib qw(.);
+use lib qw(. lib);
 
 use Bugzilla;
 use Bugzilla::Constants;
@@ -37,19 +37,6 @@
 use Bugzilla::Product;
 
 my $cgi = Bugzilla->cgi;
-
-# Go directly to the XUL version of the duplicates report (duplicates.xul)
-# if the user specified ctype=xul.  Adds params if they exist, and directs
-# the user to a signed copy of the script in duplicates.jar if it exists.
-if (defined $cgi->param('ctype') && $cgi->param('ctype') eq "xul") {
-    my $params = CanonicaliseParams($cgi->query_string(), ["format", "ctype"]);
-    my $url = (-e "duplicates.jar" ? "duplicates.jar!/" : "") . 
-          "duplicates.xul" . ($params ? "?$params" : "") . "\n\n";
-
-    print $cgi->redirect($url);
-    exit;
-}
-
 my $template = Bugzilla->template;
 my $vars = {};