[Jifty-commit] r4841 - in jifty/trunk: lib/Jifty lib/Jifty/Web
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Jan 13 22:09:25 EST 2008
Author: alexmv
Date: Sun Jan 13 22:09:25 2008
New Revision: 4841
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Continuation.pm
jifty/trunk/lib/Jifty/Web/Session.pm
Log:
r26667 at zoq-fot-pik: chmrr | 2008-01-13 22:07:29 -0500
* POD nit in Jifty::Web::Session (no whitespace on line before POD
command)
* Jifty::Web::Session->continuations returns a hash, not a hashref.
Modified: jifty/trunk/lib/Jifty/Continuation.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Continuation.pm (original)
+++ jifty/trunk/lib/Jifty/Continuation.pm Sun Jan 13 22:09:25 2008
@@ -253,7 +253,8 @@
my $self = shift;
# Remove all continuations that point to me
- $_->delete for grep {$_->parent eq $self->id} values %{Jifty->web->session->continuations};
+ my %continuations = Jifty->web->session->continuations;
+ $_->delete for grep {$_->parent eq $self->id} values %continuations;
# Finally, remove me from the list of continuations
Jifty->web->session->remove_continuation($self->id);
Modified: jifty/trunk/lib/Jifty/Web/Session.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Session.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Session.pm Sun Jan 13 22:09:25 2008
@@ -6,7 +6,7 @@
use CGI::Cookie ();
use DateTime ();
use Storable ();
-
+
=head1 NAME
Jifty::Web::Session - A Jifty session handler
More information about the Jifty-commit
mailing list