summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2006-04-12 23:54:01 +0000
committerJason Woodward2006-04-12 23:54:01 +0000
commitd8707aa6d06c7d5b6a74411ccdffef1f750a5fec (patch)
tree4c8e54fb656153aa6884abc195d2917c846e42ae
parent942add889321c982b3354f628da52d0b931220b9 (diff)
downloadJaos-DBI-d8707aa6d06c7d5b6a74411ccdffef1f750a5fec.tar.gz
caching fixes
-rw-r--r--lib/Jaos/DBI.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Jaos/DBI.pm b/lib/Jaos/DBI.pm
index 7f6aa48..99ceb52 100644
--- a/lib/Jaos/DBI.pm
+++ b/lib/Jaos/DBI.pm
@@ -672,8 +672,8 @@ sub delete
return;
}
- $self->_del_self_from_cache();
if ( ref $self ) {
+ $self->_del_self_from_cache();
undef %$self;
}
return 1;
@@ -799,8 +799,8 @@ sub _update
return;
}
- $self->_add_obj_to_cache($self);
$self->_is_changed(0);
+ $self->_del_self_from_cache();
return 1;
}