[freeside-commits] branch FREESIDE_4_BRANCH updated. bbc082b0295335839b6e52ebc46941905165f202

Mark Wells mark at 420.am
Thu Jan 28 15:02:25 PST 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  bbc082b0295335839b6e52ebc46941905165f202 (commit)
      from  d118790d422b3f767e0b6012ea8a150b0cdc71ad (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 bbc082b0295335839b6e52ebc46941905165f202
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Jan 28 13:45:56 2016 -0800

    invalidate foreign key cache during reload_dbdef, fixes upgrade problem on #25536

diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 3849443..3ecbea3 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -56,6 +56,7 @@ sub reload_dbdef {
     warn "[debug]$me re-using cached dbdef for $file\n" if $DEBUG;
   }
   $dbdef = $dbdef_cache{$file};
+  FS::Record::fk_methods_init();
 }
 
 =item dbdef

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

Summary of changes:
 FS/FS/Schema.pm |    1 +
 1 file changed, 1 insertion(+)




More information about the freeside-commits mailing list