[freeside-commits] branch master updated. 5ff16520adf5c564a053875165418fe32abf1a5c

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


The branch, master has been updated
       via  5ff16520adf5c564a053875165418fe32abf1a5c (commit)
      from  2f3fd5cbfdec082d780f79b1ff9fab07a0c832ce (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 5ff16520adf5c564a053875165418fe32abf1a5c
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 63276b7..029dbe1 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