summaryrefslogtreecommitdiffstats
path: root/collectstats.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 /collectstats.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 'collectstats.pl')
-rwxr-xr-xcollectstats.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/collectstats.pl b/collectstats.pl
index 08f1c1131..761c648c8 100755
--- a/collectstats.pl
+++ b/collectstats.pl
@@ -59,9 +59,6 @@ if (chdir("graphs")) {
chdir($cwd);
}
-# This is a pure command line script.
-Bugzilla->usage_mode(USAGE_MODE_CMDLINE);
-
my $dbh = Bugzilla->switch_to_shadow_db();