summaryrefslogtreecommitdiffstats
path: root/duplicates.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index aa627fc40..b45bd2710 100755
--- a/duplicates.cgi
+++ b/duplicates.cgi
@@ -54,7 +54,6 @@ if (defined $cgi->param('ctype') && $cgi->param('ctype') eq "xul") {
# Use global templatisation variables.
use vars qw($template $vars);
-ConnectToDatabase();
GetVersionTable();
# collectstats.pl uses duplicates.cgi to generate the RDF duplicates stats.
@@ -64,7 +63,7 @@ if ($::ENV{'GATEWAY_INTERFACE'} eq "cmdline") {
Bugzilla->login(LOGIN_OPTIONAL);
}
else {
- Bugzilla->login(LOGIN_NORMAL);
+ Bugzilla->login();
}
Bugzilla->switch_to_shadow_db();