[freeside-commits] branch master updated. bafa0a47d9d52c2c0b27ef754b8ef8e346b722c8
Christopher Burger
burgerc at freeside.biz
Thu Feb 21 09:56:49 PST 2019
The branch, master has been updated
via bafa0a47d9d52c2c0b27ef754b8ef8e346b722c8 (commit)
from 2cc68e7417a3ddc1e4d6d0988a9181d2a7bcd67e (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 bafa0a47d9d52c2c0b27ef754b8ef8e346b722c8
Author: Christopher Burger <burgerc at freeside.biz>
Date: Thu Feb 21 12:56:24 2019 -0500
RT# 82092 - Removed reload of DB Schema
diff --git a/httemplate/edit/process/part_virtual_field.html b/httemplate/edit/process/part_virtual_field.html
index dc03ea4c8..401e52701 100644
--- a/httemplate/edit/process/part_virtual_field.html
+++ b/httemplate/edit/process/part_virtual_field.html
@@ -29,8 +29,10 @@
my $dbdef_file = "/usr/local/etc/freeside/dbdef.".datasrc;
my $dbdef = new_native DBIx::DBSchema $dbh;
$dbdef->save($dbdef_file);
- delete $FS::Schema::dbdef_cache{$dbdef_file}; #force an actual reload
- reload_dbdef($dbdef_file);
+ ## Stop reload of db schema as only reload current process and not others. Could be a pain to diagnose error.
+ ## Restart Apache to reload DB Schema for all.
+ #delete $FS::Schema::dbdef_cache{$dbdef_file}; #force an actual reload
+ #reload_dbdef($dbdef_file);
warn "cf add done schema modification, time=".time;
}
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/part_virtual_field.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list