summaryrefslogtreecommitdiffstats
path: root/doeditparams.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'doeditparams.cgi')
-rwxr-xr-xdoeditparams.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doeditparams.cgi b/doeditparams.cgi
index 4799c99c0..679bd74e3 100755
--- a/doeditparams.cgi
+++ b/doeditparams.cgi
@@ -26,12 +26,12 @@ use strict;
use lib qw(.);
use Bugzilla;
+use Bugzilla::Constants;
use Bugzilla::Config qw(:DEFAULT :admin $datadir);
require "CGI.pl";
-ConnectToDatabase();
-confirm_login();
+Bugzilla->login(LOGIN_REQUIRED);
my $cgi = Bugzilla->cgi;