[Jifty-commit] r1714 - jifty/trunk/lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jul 31 15:36:27 EDT 2006


Author: nelhage
Date: Mon Jul 31 15:36:26 2006
New Revision: 1714

Modified:
   jifty/trunk/lib/Jifty/Web.pm

Log:
Forgot to push this with the last commit.

Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm	(original)
+++ jifty/trunk/lib/Jifty/Web.pm	Mon Jul 31 15:36:26 2006
@@ -1166,16 +1166,17 @@
 =head3 state_variables
 
 Returns all of the state variables that have been set for the next
-request, as a hash; they have already been prefixed with C<J:V->
+request, as a hash;
+
+N.B. These are B<not> prefixed with C<J:V->, as they were in earlier
+versions of Jifty
 
 =cut
 
-# FIXME: it seems wrong to have an accessor that exposes the
-# representation, so to speak
 sub state_variables {
     my $self = shift;
     my %vars;
-    $vars{ "J:V-" . $_ } = $self->{'state_variables'}->{$_}
+    $vars{$_} = $self->{'state_variables'}->{$_}
         for keys %{ $self->{'state_variables'} };
 
     return %vars;


More information about the Jifty-commit mailing list