[Jifty-commit] r1451 - Jifty-DBI/trunk/lib/Jifty/DBI/Record

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jul 3 00:58:18 EDT 2006


Author: ruz
Date: Mon Jul  3 00:58:16 2006
New Revision: 1451

Modified:
   Jifty-DBI/trunk/lib/Jifty/DBI/Record/Cachable.pm

Log:
::Cachable::load_from_cache
* don't generate PK cache key, we do that in subcequent _store call


Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Record/Cachable.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Record/Cachable.pm	(original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Record/Cachable.pm	Mon Jul  3 00:58:16 2006
@@ -91,8 +91,6 @@
     $self->{'_jifty_cache_pkey'} = undef;
     my ( $rvalue, $msg ) = $self->SUPER::load_from_hash(@_);
 
-    my $cache_key = $self->_primary_record_cache_key();
-
     ## Check the return value, if its good, cache it!
     if ($rvalue) {
         $self->_store();


More information about the Jifty-commit mailing list