diff options
author | Mitch Jackson <mitch@freeside.biz> | 2019-03-03 20:34:23 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2019-03-03 20:34:23 -0500 |
commit | fcce61390d750f98bd82e84d4664ae9c03202be2 (patch) | |
tree | 2907bbfc0b65d09d0e15255c0d260f227746e70f /bin/move-unlinked | |
parent | 83eb68cd59af488d57c23b653f44a7ae9aa4a753 (diff) |
RT# 82942 Replace DBI->connect() with FS::DBI->connect()
Diffstat (limited to 'bin/move-unlinked')
-rwxr-xr-x | bin/move-unlinked | 6 |
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; |