[Jifty-commit] r957 - in jifty/trunk: . lib/Jifty/Web

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Apr 28 16:05:57 EDT 2006


Author: alexmv
Date: Fri Apr 28 16:05:43 2006
New Revision: 957

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Model/Session.pm
   jifty/trunk/lib/Jifty/Web/Session.pm

Log:
 r12686 at zoq-fot-pik:  chmrr | 2006-04-28 16:05:27 -0400
  * POD nits


Modified: jifty/trunk/lib/Jifty/Model/Session.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Model/Session.pm	(original)
+++ jifty/trunk/lib/Jifty/Model/Session.pm	Fri Apr 28 16:05:43 2006
@@ -39,7 +39,25 @@
 =cut
 
 sub table {'_jifty_sessions'}
+
+=head2 since
+
+Sessions first started getting stored i nthe database in Jifty version
+0.60428
+
+=cut
+
 sub since { '0.60428' }
+
+=head2 current_user
+
+Everyone is treated as the superuser when dealing with session
+objects.  This avoids infinite recursion, as otherwise it would try to
+look up the current user in the session object to find out who we
+are...
+
+=cut
+
 sub current_user { return Jifty::CurrentUser->superuser }
 
 =head2 new_session_id

Modified: jifty/trunk/lib/Jifty/Web/Session.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Session.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Session.pm	Fri Apr 28 16:05:43 2006
@@ -12,7 +12,7 @@
 
 =cut
 
-=head1 new
+=head2 new
 
 Returns a new, empty session.
 


More information about the Jifty-commit mailing list