projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't print out warnings about SQL RADIUS FreesideStatus every time either. really?
[freeside.git]
/
FS
/
FS
/
Upgrade.pm
diff --git
a/FS/FS/Upgrade.pm
b/FS/FS/Upgrade.pm
index
8f3a6e5
..
c223674
100644
(file)
--- 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 @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";
my $str2time = str2time_sql( $dbh->{Driver}->{Name} );
my $group = "UserName";