captiveportal_prune_old no longer works
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).