aboutsummaryrefslogtreecommitdiffstats
path: root/editparams.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-xeditparams.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editparams.cgi b/editparams.cgi
index dd61e9543..aaa2b087a 100755
--- a/editparams.cgi
+++ b/editparams.cgi
@@ -25,12 +25,12 @@
use strict;
use lib ".";
+use Bugzilla::Constants;
use Bugzilla::Config qw(:DEFAULT :admin);
require "CGI.pl";
-ConnectToDatabase();
-confirm_login();
+Bugzilla->login(LOGIN_REQUIRED);
print Bugzilla->cgi->header();