X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fmove-customers;fp=bin%2Fmove-customers;h=f6f55613170a4193f9d72f95c1be0c450237d39d;hp=a7ea19781c1ed96977c700f3fc591a08fb672908;hb=01776c9e52c63662403dcb19155ffe3bc8a035ee;hpb=70e31cdfd01949235897035ad818e9a7b2d0c958 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;