summaryrefslogtreecommitdiff
path: root/bin/move-unlinked
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-03-03 19:42:10 -0500
committerMitch Jackson <mitch@freeside.biz>2019-03-03 19:49:20 -0500
commit01776c9e52c63662403dcb19155ffe3bc8a035ee (patch)
tree53d6e06b849ae5089f43e3b61998dc9b4d627760 /bin/move-unlinked
parent70e31cdfd01949235897035ad818e9a7b2d0c958 (diff)
RT# 82942 Replace DBI->connect() with FS::DBI->connect()
Diffstat (limited to 'bin/move-unlinked')
-rwxr-xr-xbin/move-unlinked6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/move-unlinked b/bin/move-unlinked
index 0d31a49f3..0661266df 100755
--- a/bin/move-unlinked
+++ b/bin/move-unlinked
@@ -5,7 +5,7 @@
use strict;
use vars qw( $sdbh );
-use DBI;
+use FS::DBI;
use FS::UID qw( adminsuidsetup dbh );
use FS::Schema qw( dbdef );
use DBI;
@@ -62,8 +62,8 @@ $FS::svc_Common::noexport_hack = 1;
# 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;