mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +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
|
||||
* @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 true;
|
||||
return $this->_db->delete($this->getTable(), '`session_expires`<'.time());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user