From bfa4c5aede92951fa43d3bee1b15b9773e3d20f2 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 16 Dec 2008 21:16:25 +0000 Subject: Bug 467701: USAGE_MODE_CMDLINE should be the default if not i_am_cgi() Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- contrib/bzdbcopy.pl | 2 -- 1 file changed, 2 deletions(-) (limited to 'contrib') diff --git a/contrib/bzdbcopy.pl b/contrib/bzdbcopy.pl index eade75683..b4f1fffd2 100755 --- a/contrib/bzdbcopy.pl +++ b/contrib/bzdbcopy.pl @@ -48,8 +48,6 @@ use constant TARGET_DB_HOST => 'localhost'; # MAIN SCRIPT ##################################################################### -Bugzilla->usage_mode(USAGE_MODE_CMDLINE); - print "Connecting to the '" . SOURCE_DB_NAME . "' source database on " . SOURCE_DB_TYPE . "...\n"; my $source_db = Bugzilla::DB::_connect(SOURCE_DB_TYPE, SOURCE_DB_HOST, -- cgit v1.2.3-24-g4f1b