Commit 112551fa authored by Clément OUDOT's avatar Clément OUDOT

Do not check cache when calling release_all_locks (#LEMONLDAP-763)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@3609 1dbb9719-a921-0410-b57f-c3a383c2c641
parent c68e8400
......@@ -3,7 +3,7 @@ package Lemonldap::NG::Common::Apache::Session::Lock;
use strict;
my $VERSION = '1.4.1';
my $VERSION = '1.4.4';
sub new {
my $class = shift;
......@@ -65,15 +65,7 @@ sub release_all_locks {
my $self = shift;
my $session = shift;
# Get session from cache
my $id = $session->{data}->{_session_id};
if ( $self->cache->get($id) ) {
# got session from cache, no need to ask for locks
}
else {
$self->module->release_all_locks($session);
}
$self->module->release_all_locks($session);
}
1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment