projects
/
catagits/Web-Session.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
s/cleanup/remove/ in Store API
[catagits/Web-Session.git]
/
lib
/
Plack
/
Middleware
/
Session.pm
diff --git
a/lib/Plack/Middleware/Session.pm
b/lib/Plack/Middleware/Session.pm
index
2d11bbc
..
1dbe441
100644
(file)
--- a/
lib/Plack/Middleware/Session.pm
+++ b/
lib/Plack/Middleware/Session.pm
@@
-87,7
+87,7
@@
sub generate_id {
sub commit {
my($self, $session, $options) = @_;
if ($options->{expire}) {
- $self->store->cleanup($options->{id});
+ $self->store->remove($options->{id});
} else {
$self->store->store($options->{id}, $session);
}