[freeside-commits] freeside/FS/FS Upgrade.pm,1.10,1.11

Ivan,,, ivan at wavetail.420.am
Thu May 29 18:34:32 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv11209/FS/FS

Modified Files:
	Upgrade.pm 
Log Message:
don't print out warnings about SQL RADIUS FreesideStatus every time either.  really?

Index: Upgrade.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Upgrade.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Upgrade.pm	30 May 2008 00:53:04 -0000	1.10
+++ Upgrade.pm	30 May 2008 01:34:29 -0000	1.11
@@ -117,8 +117,10 @@
   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";



More information about the freeside-commits mailing list