diff options
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-x | collectstats.pl | 5 |
1 files changed, 3 insertions, 2 deletions
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" . |