[Catalyst-commits] r6512 - branches/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User

jayk at dev.catalyst.perl.org jayk at dev.catalyst.perl.org
Sat Jul 7 03:18:00 GMT 2007


Author: jayk
Date: 2007-07-07 03:18:00 +0100 (Sat, 07 Jul 2007)
New Revision: 6512

Modified:
   branches/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm
Log:
Removing invalid reference to deprecated api $user->store
Thanks again to nilsonsfj.


Modified: branches/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm
===================================================================
--- branches/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm	2007-07-07 02:05:09 UTC (rev 6511)
+++ branches/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/User/Hash.pm	2007-07-07 02:18:00 UTC (rev 6512)
@@ -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