From 014b25fed9a4a44963c63582b177fd8ac0ea438f Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Wed, 19 Jan 2005 00:53:50 +0000 Subject: Bug 276840 : Move $::defaultqueryname out of globals.pl into Bugzilla/Constants.pm Patch by Max K-A r=vladd a=justdave --- buglist.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 6df402781..8abfc6869 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -44,7 +44,6 @@ require "CGI.pl"; use vars qw($db_name @components - $defaultqueryname @legal_keywords @legal_platform @legal_priority @@ -340,7 +339,7 @@ elsif (($::FORM{'cmdtype'} eq "doit") && $::FORM{'remtype'}) { if ($::FORM{'remtype'} eq "asdefault") { Bugzilla->login(LOGIN_REQUIRED); my $userid = Bugzilla->user->id; - my $qname = SqlQuote($::defaultqueryname); + my $qname = SqlQuote(DEFAULT_QUERY_NAME); my $qbuffer = SqlQuote($::buffer); SendSQL("LOCK TABLES namedqueries WRITE"); -- cgit v1.2.3-24-g4f1b