From: Christopher Burger Date: Thu, 21 Feb 2019 17:56:24 +0000 (-0500) Subject: RT# 82092 - Removed reload of DB Schema X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=bafa0a47d9d52c2c0b27ef754b8ef8e346b722c8 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; }