aboutsummaryrefslogtreecommitdiffstats
path: root/describekeywords.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-25 06:11:55 +0000
committerlpsolit%gmail.com <>2005-10-25 06:11:55 +0000
commit44de29d04d1ca7e3b047b2a847508dc949c29038 (patch)
tree934c0ccce39c238b3bf6a0337014e6f1fde9918b /describekeywords.cgi
parent46aba0e761e99db24b5de10f13bbc108fdc982a4 (diff)
downloadbugs-44de29d04d1ca7e3b047b2a847508dc949c29038.tar
bugs-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz
bugs-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.bz2
bugs-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.xz
bugs-44de29d04d1ca7e3b047b2a847508dc949c29038.zip
Bug 312157: Remove $::template and $::vars from globals.pl - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
Diffstat (limited to 'describekeywords.cgi')
-rwxr-xr-xdescribekeywords.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/describekeywords.cgi b/describekeywords.cgi
index ab88c2f15..19140199f 100755
--- a/describekeywords.cgi
+++ b/describekeywords.cgi
@@ -29,13 +29,12 @@ use Bugzilla::User;
require "globals.pl";
-# Use the global template variables.
-use vars qw($vars $template);
-
Bugzilla->login();
my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
+my $template = Bugzilla->template;
+my $vars = {};
SendSQL("SELECT keyworddefs.name, keyworddefs.description,
COUNT(keywords.bug_id)