projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
Record.pm
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
18198d8
..
a117b74
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-199,6
+199,7
@@
sub new {
$self->{'modified'} = 0;
$self->{'modified'} = 0;
+ $self->_simplecache($self->{'Hash'}) if $self->can('_simplecache');
$self->_cache($self->{'Hash'}, shift) if $self->can('_cache') && @_;
$self;
$self->_cache($self->{'Hash'}, shift) if $self->can('_cache') && @_;
$self;
@@
-1077,7
+1078,7
@@
sub get_fk_method {
}
sub fk_methods_init {
}
sub fk_methods_init {
- warn "[fk_methods_init]\n";
+ warn "[fk_methods_init]\n"
if $DEBUG
;
foreach my $table ( dbdef->tables ) {
$fk_method_cache{$table} = fk_methods($table);
}
foreach my $table ( dbdef->tables ) {
$fk_method_cache{$table} = fk_methods($table);
}