summaryrefslogtreecommitdiffstats
path: root/contrib
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 /contrib
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 'contrib')
-rwxr-xr-xcontrib/bzdbcopy.pl2
1 files changed, 0 insertions, 2 deletions
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,