Allow passing of 'allow_pkgpart' and 'import' flags up the chain to FS::cust_pkg...
[freeside.git] / FS / FS / msa.pm
index fdb49a3..6f83041 100644 (file)
@@ -107,6 +107,11 @@ sub check {
   $self->SUPER::check;
 }
 
+sub _upgrade_data {  #class method
+  my ($class, %opts) = @_;
+  eval "use FS::msa_Data;"; # this automatically does the upgrade if needed
+}
+
 =back
 
 =head1 SEE ALSO