X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=c2236742af95e5f4d27e1a17ffddad32b9a87058;hb=5080186a0e7e007da07ca936f7858b088a08b897;hp=8f3a6e5711defea611d80d50e2212a7a779b8e57;hpb=f333a07ce7720dffb24305a67c9c8d88935da71c;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 8f3a6e571..c2236742a 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -117,8 +117,10 @@ sub upgrade_sqlradius { my @part_export = FS::part_export::sqlradius->all_sqlradius_withaccounting(); foreach my $part_export ( @part_export ) { - my $dbh = DBI->connect( map $part_export->option($_), - qw ( datasrc username password ) ); + my $dbh = DBI->connect( + ( map $part_export->option($_), qw ( datasrc username password ) ), + { PrintError => 0, PrintWarn => 0 } + ); my $str2time = str2time_sql( $dbh->{Driver}->{Name} ); my $group = "UserName";