[freeside-commits] branch master updated. 7c2e9c37a5b57e1d58868613660602da20a0d9de

Ivan ivan at 420.am
Thu Mar 14 03:00:49 PDT 2013


The branch, master has been updated
       via  7c2e9c37a5b57e1d58868613660602da20a0d9de (commit)
      from  e098d4ae82e1f4787e783e71d2a0b1e5f4cd6282 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7c2e9c37a5b57e1d58868613660602da20a0d9de
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Mar 14 03:00:42 2013 -0700

    fix upgrades from very old 2.3? RT#21543

diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 68c2bd7..3e5d4c1 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -5139,6 +5139,8 @@ sub _upgrade_data { #class method
   local($skip_fuzzyfiles) = 1;
   local($import) = 1; #prevent automatic geocoding (need its own variable?)
 
+  FS::cust_main::Location->_upgrade_data(%opts);
+
   unless ( FS::upgrade_journal->is_done('cust_main__trimspaces') ) {
 
     foreach my $cust_main ( qsearch({
@@ -5160,8 +5162,6 @@ sub _upgrade_data { #class method
 
   $class->_upgrade_otaker(%opts);
 
-  FS::cust_main::Location->_upgrade_data(%opts);
-
 }
 
 =back

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list