mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Issue #5443 PHP 8.4 fix
This commit is contained in:
@@ -1275,10 +1275,9 @@ class e_session_db implements SessionHandlerInterface
|
|||||||
* @param int $max_lifetime
|
* @param int $max_lifetime
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function gc(int $max_lifetime): bool
|
public function gc(int $max_lifetime): int|false
|
||||||
{
|
{
|
||||||
$this->_db->delete($this->getTable(), '`session_expires`<'.time());
|
return $this->_db->delete($this->getTable(), '`session_expires`<'.time());
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user