summaryrefslogtreecommitdiff
path: root/bin/move-customers
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-03-03 20:34:23 -0500
committerMitch Jackson <mitch@freeside.biz>2019-03-03 20:34:23 -0500
commitfcce61390d750f98bd82e84d4664ae9c03202be2 (patch)
tree2907bbfc0b65d09d0e15255c0d260f227746e70f /bin/move-customers
parent83eb68cd59af488d57c23b653f44a7ae9aa4a753 (diff)
RT# 82942 Replace DBI->connect() with FS::DBI->connect()
Diffstat (limited to 'bin/move-customers')
-rwxr-xr-xbin/move-customers6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/move-customers b/bin/move-customers
index a7ea19781..f6f556131 100755
--- a/bin/move-customers
+++ b/bin/move-customers
@@ -7,7 +7,7 @@
use strict;
use vars qw( $sdbh );
-use DBI;
+use FS::DBI;
use FS::UID qw( adminsuidsetup dbh );
use FS::Schema qw( dbdef );
use FS::Record qw( qsearchs );
@@ -95,8 +95,8 @@ my $void_paynum = 2147483646; #top of int range
# source(remote) setup
-$sdbh = DBI->connect($source_datasrc, $source_user, $source_pw)
- or die $DBI::errstr;
+$sdbh = FS::DBI->connect($source_datasrc, $source_user, $source_pw)
+ or die $FS::DBI::errstr;
$sdbh->{ChopBlanks} = 1;