Project

General

Profile

Bug #1338

captiveportal_prune_old no longer works

Added by Thomas NOEL almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
03/08/2011
Due date:
03/08/2011
% Done:

50%

Estimated time:
0.20 h
Affected Version:
2.0
Affected Architecture:
All

Description

In /etc/inc/captiveportal.inc, captiveportal_read_db now returns a array() with sessionid.

captiveportal_prune_old() must be adapted to use this new return value. Currently, it doesn't close any session...

Patch below (tested).

Thanks.

captiveportal.inc.diff Magnifier (6.04 KB) Thomas NOEL, 03/08/2011 08:21 AM

captiveportal.inc.diff Magnifier (6.04 KB) Thomas NOEL, 03/08/2011 08:28 AM

History

#1 Updated by Thomas NOEL almost 7 years ago

OOOOooooops... s/for/foreach/ in the patch. Sorry !!

New patch below.

#2 Updated by Ermal Lu├ži almost 7 years ago

  • Status changed from New to Closed

I hae put a patch separately of this.
Thanks for the prompt patch though.

Also available in: Atom PDF