summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-10-16 19:49:51 +0200
committerbbaetz%student.usyd.edu.au <>2002-10-16 19:49:51 +0200
commitaa96bd6f2a1c177505b39cd9cf9086803499a0a5 (patch)
treee895eb5dac30ca652236fde34e42d30532dfafa9 /globals.pl
parent14f94b7c8157c7a898aae3fcdc3c9514a3ea3e99 (diff)
downloadbugzilla-aa96bd6f2a1c177505b39cd9cf9086803499a0a5.tar.gz
bugzilla-aa96bd6f2a1c177505b39cd9cf9086803499a0a5.tar.xz
Bug 174524 - Tidy up Bugzilla::{Util,Config}, and lazily-load unneeded modules
r=joel x2
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl
index ad96eaf51..da954181a 100644
--- a/globals.pl
+++ b/globals.pl
@@ -81,7 +81,7 @@ use RelationSet;
use File::Spec;
# Some environment variables are not taint safe
-delete @::ENV{'PATH', 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
+#delete @::ENV{'PATH', 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
# Cwd.pm in perl 5.6.1 gives a warning if $::ENV{'PATH'} isn't defined
# Set this to '' so that we don't get warnings cluttering the logs on every
@@ -433,7 +433,7 @@ sub GenerateVersionTable {
print FID "# Any changes you make will be overwritten.\n";
print FID "#\n";
- use Data::Dumper;
+ require Data::Dumper;
print FID Data::Dumper->Dump([\@::log_columns, \%::versions],
['*::log_columns', '*::versions']);