aboutsummaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 4df90efd2..e54a46965 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -55,8 +55,7 @@ use vars qw(%versions
%legal_severity
);
-ConnectToDatabase();
-my $user = confirm_login();
+my $user = Bugzilla->login(LOGIN_REQUIRED);
my $whoid = $user->id;
my $cgi = Bugzilla->cgi;