Closes: #114 : Bad usage of Apache::Session::searchOn() on portal
This commit is contained in:
parent
33699a6d40
commit
0e082b1d8f
@ -1285,7 +1285,7 @@ sub removeOther {
|
|||||||
if ( $self->{singleUserByIP} ) {
|
if ( $self->{singleUserByIP} ) {
|
||||||
my $sessions =
|
my $sessions =
|
||||||
$self->{globalStorage}->searchOn( $self->{globalStorageOptions},
|
$self->{globalStorage}->searchOn( $self->{globalStorageOptions},
|
||||||
$self->{ipAddr}, $ENV{REMOTE_ADDR} );
|
'ipAddr', $ENV{REMOTE_ADDR} );
|
||||||
foreach my $id ( keys %$sessions ) {
|
foreach my $id ( keys %$sessions ) {
|
||||||
next if ( $current and $current eq $id );
|
next if ( $current and $current eq $id );
|
||||||
my $h = $self->getApacheSession( $id, 1 ) or next;
|
my $h = $self->getApacheSession( $id, 1 ) or next;
|
||||||
|
Loading…
Reference in New Issue
Block a user