Bug 276840 : Move $::defaultqueryname out of globals.pl into Bugzilla/Constants.pm
Patch by Max K-A <mkanat@kerio.com> r=vladd a=justdave git-svn-id: svn://10.0.0.236/trunk@167945 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user