[Jifty-commit] r1741 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Aug 3 12:37:17 EDT 2006


Author: zev
Date: Thu Aug  3 12:37:17 2006
New Revision: 1741

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Request.pm

Log:
 r12167 at truegrounds:  zev | 2006-08-02 17:17:58 -0400
 * added Jifty::Request::clear_state_variables


Modified: jifty/trunk/lib/Jifty/Request.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Request.pm	(original)
+++ jifty/trunk/lib/Jifty/Request.pm	Thu Aug  3 12:37:17 2006
@@ -619,6 +619,19 @@
     delete $self->{'state_variables'}{$key};
 }
 
+=head2 clear_state_variables
+
+Remove all the state variables.
+
+=cut
+
+sub clear_state_variables {
+    my $self = shift;
+
+    $self->{'state_variables'} = {};
+}
+
+
 =head2 actions
 
 Returns a list of the actions in the request, as


More information about the Jifty-commit mailing list