aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl
index 68b2cd34f..b637f98fd 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -96,7 +96,7 @@ use XML::Twig;
# We want to capture errors and handle them here rather than have the Template
# code barf all over the place.
-Bugzilla->batch(1);
+Bugzilla->usage_mode(Bugzilla::Constants::USAGE_MODE_CMDLINE);
my $debug = 0;
my $mail = '';