[freeside-commits] freeside/FS/FS part_export.pm,1.111,1.112
Mark Wells
mark at wavetail.420.am
Mon Dec 26 14:17:54 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv5613/FS/FS
Modified Files:
part_export.pm
Log Message:
import sqlradius attributes on upgrade, #15017
Index: part_export.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export.pm,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -w -d -r1.111 -r1.112
--- part_export.pm 10 Nov 2011 21:40:04 -0000 1.111
+++ part_export.pm 26 Dec 2011 22:17:52 -0000 1.112
@@ -473,6 +473,12 @@
$error = $opt->replace;
die $error if $error;
}
+ # pass downstream
+ my %exports_in_use;
+ $exports_in_use{ref $_} = 1 foreach qsearch('part_export', {});
+ foreach (keys(%exports_in_use)) {
+ $_->_upgrade_exporttype(%opts) if $_->can('_upgrade_exporttype');
+ }
}
#=item exporttype2svcdb EXPORTTYPE
More information about the freeside-commits
mailing list