diff options
author | Mitch Jackson <mitch@freeside.biz> | 2019-03-03 19:42:10 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2019-03-03 19:53:52 -0500 |
commit | d417ecbed3d356919ae80317c33a9143e20646ef (patch) | |
tree | dae9e8e397baba64f43852eedbcd8cfd3250776c /FS/FS/cdr | |
parent | 863879eae9bc840432b09750eae6e552e9bbe205 (diff) |
RT# 82942 Replace DBI->connect() with FS::DBI->connect()
Diffstat (limited to 'FS/FS/cdr')
-rw-r--r-- | FS/FS/cdr/Import.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/cdr/Import.pm b/FS/FS/cdr/Import.pm index ce7fe8b..29a2fe8 100644 --- a/FS/FS/cdr/Import.pm +++ b/FS/FS/cdr/Import.pm @@ -4,7 +4,7 @@ use strict; use Date::Format 'time2str'; use FS::UID qw(adminsuidsetup dbh); use FS::cdr; -use DBI; +use FS::DBI; use Getopt::Std; use vars qw( $DEBUG ); @@ -77,8 +77,8 @@ sub dbi_import { my $dsn = 'dbi:'. $dbd_type . $queries->{connect_type}; $dsn .= ";database=$database" if $database; - my $dbi = DBI->connect($dsn, $opt{U}, $opt{P}) - or die $DBI::errstr; + my $dbi = FS::DBI->connect($dsn, $opt{U}, $opt{P}) + or die $FS::DBI::errstr; adminsuidsetup $user; |