[freeside-commits] freeside/FS/FS Upgrade.pm,1.40,1.41
Ivan,,,
ivan at wavetail.420.am
Tue Jul 27 19:51:54 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv14191
Modified Files:
Upgrade.pm
Log Message:
fix unnecessary warnings on upgrade of remote Pg RADIUS db, RT#9178
Index: Upgrade.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Upgrade.pm,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -w -d -r1.40 -r1.41
--- Upgrade.pm 28 Jul 2010 02:46:54 -0000 1.40
+++ Upgrade.pm 28 Jul 2010 02:51:51 -0000 1.41
@@ -186,7 +186,8 @@
my $str2time = str2time_sql( $dbh->{Driver}->{Name} );
my $group = "UserName";
$group .= ",Realm"
- if ( ref($part_export) =~ /withdomain/ );
+ if ref($part_export) =~ /withdomain/
+ || $dbh->{Driver}->{Name} =~ /^Pg/; #hmm
my $sth_alter = $dbh->prepare(
"ALTER TABLE radacct ADD COLUMN FreesideStatus varchar(32) NULL"
More information about the freeside-commits
mailing list