aboutsummaryrefslogtreecommitdiff
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 /attachment.cgi
parentBug 313209: Oracle requires "CASE WHEN" around boolean expressions in the SEL... (diff)
downloadbugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz
bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.bz2
bugzilla-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 'attachment.cgi')
-rwxr-xr-xattachment.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 964e6cbbc..0e03e45ce 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -35,8 +35,6 @@ use strict;
use lib qw(.);
-use vars qw($template $vars);
-
# Include the Bugzilla CGI and general utility library.
require "globals.pl";
use Bugzilla::Config qw(:locations);
@@ -53,6 +51,8 @@ use Bugzilla::Field;
Bugzilla->login();
my $cgi = Bugzilla->cgi;
+my $template = Bugzilla->template;
+my $vars = {};
################################################################################
# Main Body Execution