diff options
author | ivan <ivan> | 2008-05-30 01:34:30 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-05-30 01:34:30 +0000 |
commit | 5080186a0e7e007da07ca936f7858b088a08b897 (patch) | |
tree | d0fb63c0aec3161748cb51607eb7250533c75f84 | |
parent | f333a07ce7720dffb24305a67c9c8d88935da71c (diff) |
don't print out warnings about SQL RADIUS FreesideStatus every time either. really?
-rw-r--r-- | FS/FS/Upgrade.pm | 6 |
1 files changed, 4 insertions, 2 deletions
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"; |