projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import sqlradius attributes on upgrade, #15017
[freeside.git]
/
FS
/
FS
/
part_export.pm
diff --git
a/FS/FS/part_export.pm
b/FS/FS/part_export.pm
index
4b60953
..
45773e0
100644
(file)
--- a/
FS/FS/part_export.pm
+++ b/
FS/FS/part_export.pm
@@
-473,6
+473,12
@@
sub _upgrade_data { #class method
$error = $opt->replace;
die $error if $error;
}
$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
}
#=item exporttype2svcdb EXPORTTYPE