From 0ee4621e7828a205189368aa9b8a515574d9c030 Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Sun, 20 Aug 2006 00:20:23 +0000 Subject: Bug 224577: Bugzilla could use a web services interface. Patch by Marc Schumann ; r=mkanat; a=myk --- collectstats.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'collectstats.pl') diff --git a/collectstats.pl b/collectstats.pl index 1672f679a..50bbf6425 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -55,8 +55,9 @@ if (chdir("graphs")) { chdir(".."); } -# Let Throw*Error() work correctly outside a web browser. -Bugzilla->batch(1); +# This is a pure command line script. +Bugzilla->usage_mode(USAGE_MODE_CMDLINE); + my $dbh = Bugzilla->switch_to_shadow_db(); # To recreate the daily statistics, run "collectstats.pl --regenerate" . -- cgit v1.2.3-24-g4f1b