summaryrefslogtreecommitdiffstats
path: root/sanitycheck.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 /sanitycheck.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 'sanitycheck.pl')
-rw-r--r--sanitycheck.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/sanitycheck.pl b/sanitycheck.pl
index 2ef0eea7d..e0128b58a 100644
--- a/sanitycheck.pl
+++ b/sanitycheck.pl
@@ -42,8 +42,6 @@ my $result = GetOptions('verbose' => \$verbose,
pod2usage({-verbose => 1, -exitval => 1}) if $help;
-Bugzilla->usage_mode(USAGE_MODE_CMDLINE);
-
# Be sure a login name if given.
$login || ThrowUserError('invalid_username');