mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Avoid close cron sessions while gc
This commit is contained in:
parent
86fd1275be
commit
2a24e22335
@ -191,8 +191,7 @@ function pandora_session_gc($max_lifetime=300)
|
||||
);
|
||||
|
||||
// Deleting cron and empty sessions.
|
||||
$sql = "DELETE FROM tsessions_php WHERE
|
||||
data IS NULL OR id_session REGEXP '^cron-'";
|
||||
$sql = 'DELETE FROM tsessions_php WHERE data IS NULL';
|
||||
db_process_sql($sql);
|
||||
|
||||
return $retval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user