diff options
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-x | collectstats.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/collectstats.pl b/collectstats.pl index 1f8b4783c..27a6e1840 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -31,6 +31,8 @@ use vars @::legal_product; require "globals.pl"; +use Bugzilla; + # tidy up after graphing module if (chdir("graphs")) { unlink <./*.gif>; @@ -38,9 +40,11 @@ if (chdir("graphs")) { chdir(".."); } -ConnectToDatabase(1); +ConnectToDatabase(); GetVersionTable(); +Bugzilla->instance->switch_to_shadow_db(); + my @myproducts; push( @myproducts, "-All-", @::legal_product ); |