summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-12-16 22:16:25 +0100
committermkanat%bugzilla.org <>2008-12-16 22:16:25 +0100
commitbfa4c5aede92951fa43d3bee1b15b9773e3d20f2 (patch)
tree6c5784a55dcf5b074192219fad94581fd35fa702 /importxml.pl
parent82262256f09894f934af6a40a53de80c376e6df2 (diff)
downloadbugzilla-bfa4c5aede92951fa43d3bee1b15b9773e3d20f2.tar.gz
bugzilla-bfa4c5aede92951fa43d3bee1b15b9773e3d20f2.tar.xz
Bug 467701: USAGE_MODE_CMDLINE should be the default if not i_am_cgi()
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/importxml.pl b/importxml.pl
index d2ff9cc67..fd8c27723 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -92,10 +92,6 @@ use Getopt::Long;
use Pod::Usage;
use XML::Twig;
-# We want to capture errors and handle them here rather than have the Template
-# code barf all over the place.
-Bugzilla->usage_mode(Bugzilla::Constants::USAGE_MODE_CMDLINE);
-
my $debug = 0;
my $mail = '';
my $attach_path = '';