1
0
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:
camer0n
2025-04-22 11:49:46 -07:00
parent 3e220421c1
commit fa277fc3c9

View File

@@ -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;
} }
/** /**