X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=c2236742af95e5f4d27e1a17ffddad32b9a87058;hb=015f6132d77de12b17c713254900e2a5e8a3a8a0;hp=8f3a6e5711defea611d80d50e2212a7a779b8e57;hpb=f3c456bae0314d53900bce1e2c512e8c55667dc4;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";