[Catalyst-commits] r6564 - in trunk/Catalyst-Plugin-Authentication: . lib/Catalyst/Plugin/Authentication/User

matthewt at dev.catalyst.perl.org matthewt at dev.catalyst.perl.org
Tue Jul 17 17:59:32 GMT 2007


Author: matthewt
Date: 2007-07-17 17:59:32 +0100 (Tue, 17 Jul 2007)
New Revision: 6564

Modified:
   trunk/Catalyst-Plugin-Authentication/
   trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm
Log:
 r53847 at cain (orig r6512):  jayk | 2007-07-07 02:18:00 +0000
 Removing invalid reference to deprecated api $user->store
 Thanks again to nilsonsfj.
 



Property changes on: trunk/Catalyst-Plugin-Authentication
___________________________________________________________________
Name: svk:merge
   - 4ad37cd2-5fec-0310-835f-b3785c72a374:/branches/Catalyst-Plugin-Authentication:6511
   + 4ad37cd2-5fec-0310-835f-b3785c72a374:/branches/Catalyst-Plugin-Authentication:6512

Modified: trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm	2007-07-17 16:59:27 UTC (rev 6563)
+++ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm	2007-07-17 16:59:32 UTC (rev 6564)
@@ -90,7 +90,8 @@
 
 sub for_session {
     my $self = shift;
-    return $self->store && $self->id || $self; # if we have a store and an ID we serialize by ref, otherwise we serialize the whole user
+    
+    return $self; # if we have a store and an ID we serialize by ref, otherwise we serialize the whole user
 }
 
 sub from_session {




More information about the Catalyst-commits mailing list